Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [egit-dev] Does anyone know how this doesn't cause an XML validation failure?

2012/11/8 Konstantin Komissarchik <konstantin.komissarchik@xxxxxxxxxx>

From XML perspective, this is legal… The second line is simply text content of the <context> element.

 

- Konstantin

 

 

From: egit-dev-bounces@xxxxxxxxxxx [mailto:egit-dev-bounces@xxxxxxxxxxx] On Behalf Of Alex Blewitt
Sent: Wednesday, November 07, 2012 4:03 PM
To: EGit developer discussion
Subject: [egit-dev] Does anyone know how this doesn't cause an XML validation failure?

 

      <context
            id="org.eclipse.egit.ui.ReflogView"
            name="%ReflogViewContext"
            parentId="org.eclipse.ui.contexts.window">
            parentId="org.eclipse.ui.contexts.window">
      </context>

 

 

I'm surprised that this doesn't get picked up by PDE or flagged as an invalid XML file …

 

Alex


_______________________________________________
egit-dev mailing list
egit-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/egit-dev


Yes, w3c's XML validator and also PDE accept this malformed part of the plugin.xml.
I pushed [2] for review in order to fix this.

[1] http://validator.w3.org/check
[2] https://git.eclipse.org/r/#/c/8594/

--
Matthias

Back to the top