The default values for attributes in schema are not resolved using DOMBuilder
-----------------------------------------------------------------------------

         Key: XERCESC-1587
         URL: http://issues.apache.org/jira/browse/XERCESC-1587
     Project: Xerces-C++
        Type: Bug

  Components: Validating Parser (Schema) (Xerces 1.5 or up only)  
    Versions: 2.6.0    
    Reporter: Vit Ondruch


I was used to use the XSD schema with default attribute values as:

<xs:attribute name="MaxSequenceLength" type="xs:unsignedLong" 
form="unqualified" default="1" />

A lot of my XML files does not contained the attributes with specified default 
value at all. When i used the XercesDOMParser, everything worked as expected 
and when i try to retrieve the value of such attribute, the default value was 
returned, but that does not apply for DOMBuilder unfortunatelly. The attribute 
is simply not found, which is wrong.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to