[ 
https://issues.apache.org/jira/browse/XERCESC-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12779522#action_12779522
 ] 

Vit Ondruch commented on XERCESC-1587:
--------------------------------------

Works also for me in 2.8.0 which I am currently using.

> The default values for attributes in schema are not resolved using DOMBuilder
> -----------------------------------------------------------------------------
>
>                 Key: XERCESC-1587
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1587
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Validating Parser (XML Schema)
>    Affects 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.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to