[ 
https://issues.apache.org/jira/browse/XERCESJ-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12488055
 ] 

Darren Hurt commented on XERCESJ-122:
-------------------------------------

I have tried this with Xerces 2.8.1 and Xerces 2.9, and cannot get it to work.
I have used slightly modified versions of the previous commiters(Takuki)  
example, 
and provided example code to verify that it fails.

Failure is indicated by the message FAILED TO AUGMENT in the stack trace.

Please run this to verify the problem.
I am using jdk1.5.0_11, with the -Djava.endorsed.dirs property set to point at 
a folder with the Xerces jars in it.





> 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: files.zip
>
>
> 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]

Reply via email to