OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Invalid XML

[ Lists Home | Date Index | Thread Index ]

Hi all,
 
According to the XML specification, I believe the following nesting structure to be invalid in XML. However, rxp on my Windows machine issues no warnings to me when parsed. Is this in fact invalid?
 
 <?xml version="1.1"?>
<library>
<book>
<title>Book Name</title>
<chapters>
<name>first chapter</name>
<name>second</name>
...
<name>last</name>
<subsection>
<name>I expect this to be illegal, since name is defined in chapters,
and also somewhere else in its content, namely subsection.</name>
</subsection>
</chapters>
</book>
</library>
 
Thanks very much,
Dan
 




 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS