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

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Use of "ANY"

[ Lists Home | Date Index | Thread Index ]


>As far as I know, an element whose content is defined as ANY only has to be 
>well-formed XML.

Not if you want your document to be valid.

You can either view ANY as meaning "any declared element", or as
meaning "any element at all", but if you take the latter view you have
to also note that those those child elements themselves will be
invalid if they are not declared.

(Since XML doesn't define validity of an element, only of a document,
these two views produce the same result.)

-- Richard




 

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

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