You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/11/18 08:24:39 UTC
[jira] Closed: (XERCESC-1587) The default values for attributes in
schema are not resolved using DOMBuilder
[ https://issues.apache.org/jira/browse/XERCESC-1587?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Boris Kolpackov closed XERCESC-1587.
------------------------------------
Resolution: Invalid
Works for me.
> 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-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org