[
https://issues.apache.org/jira/browse/XERCESJ-122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Darren Hurt updated XERCESJ-122:
--------------------------------
Attachment: Testy.class
defaultValueContribTest.xsd
defaultValueContribTest.xml
I made a mistake in my first testy class version.
The bug still applies but with the later version to reproduce.
> XMLSchemaValidator does not contribute element's default value
> --------------------------------------------------------------
>
> Key: XERCESJ-122
> URL: https://issues.apache.org/jira/browse/XERCESJ-122
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema Structures
> Affects Versions: 2.0.0 [beta 4]
> Environment: Operating System: All
> Platform: All
> Reporter: Takuki Kamiya
> Attachments: defaultValueContribTest.xml,
> defaultValueContribTest.xml, defaultValueContribTest.xsd,
> defaultValueContribTest.xsd, files.zip, Testy.class, Testy.java
>
>
> Hi,
> XMLSchemaValidator does not contribute element's default value
> as specified in the schema while it does so for attributes.
> I have two problems with this issue. One is that the behaviour
> has been changed since 1.4.3 which gave me default values for
> elements. The other is that the behaviour should be consistent
> both for elements and attributes as far as XNI is concerned.
> I see it is partly implemented in XMLSchemaValidator#endElement.
> Is it planned to be improved in the production release?
> Thanks,
> -taki
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]