[Bug 1232] [XPath] schema-element() and nillable

http://www.w3.org/Bugs/Public/show_bug.cgi?id=1232


chamberl@almaden.ibm.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |ASSIGNED




------- Additional Comments From chamberl@almaden.ibm.com  2005-04-18 16:15 -------
Mike,
The purpose of a Schema Element Test is to measure whether a given element 
satisfies the schema element declaration of the same name. If the schema 
element declaration specifies "nillable", the element may satisfy this 
declaration by having a "nilled" property that is either "true" or "false". If 
the schema element declaration specifies "not nillable", the element must 
have "nilled" = "false". In other words, the only way in which a "nilled" 
property could cause an element to fail to satisfy its element declaration is 
if the declaration specifies "not nillable" but the element has "nilled" 
= "true". This corresponds exactly to the specification in XQuery Section 
2.5.4.4.

Please let me know whether this explanation resolves your issue.
Thanks,
Don Chamberlin

Received on Monday, 18 April 2005 16:15:41 UTC