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] XML Schema: nillable vs. minOccurs

[ Lists Home | Date Index | Thread Index ]

1) Using nillable elements allows you to maintain full structure of the
markup in the instance document, even when meaningful content is missing. It
also, perhaps, gives the receiver a little extra insurance that nothing got
'lost' in the generation/translation of a document. Not an ironclad
guarantee, though...

2) Nil (or null) can be taken to mean 'undefined', rather than 'does not
exist'; although it's doubtful many applications will care about such fine
distinctions.







 

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

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