[ 
https://issues.apache.org/jira/browse/XERCESJ-1244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Darren Hurt updated XERCESJ-1244:
---------------------------------

    Attachment: Testy.java
                defaultValueContribTest.xsd
                defaultValueContribTest.xml

Put all of the files in the package a, and compile and run the Testy.java class.
I expect the message FAILED TO AUGMENT to be written to system out with the 
stack trace.

I am running jdk1.5.0_11, and use the -Djava.endorsed.dirs system property to 
refer to a folder containing all of the Xerces jars.

Either I am doing something wrong here, or this is still a fairly major bug.







> XMLSchemaValidator does not contribute element's default value
> --------------------------------------------------------------
>
>                 Key: XERCESJ-1244
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1244
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Structures
>    Affects Versions: 2.8.1, 2.9.0
>         Environment: Operating System: All
> Platform: All
>            Reporter: Darren Hurt
>            Priority: Blocker
>         Attachments: defaultValueContribTest.xml, 
> defaultValueContribTest.xsd, Testy.java
>
>
> Xerces 2.8.1 and 2.9.0 not augmenting default values from schema for empty 
> elements when validating a document.

-- 
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]

Reply via email to