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

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

             Priority: Blocker
          Description: 
Xerces 2.8.1 and 2.9.0 not augmenting default values from schema for empty 
elements when validating a document.


  was:
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

    Affects Version/s:     (was: 2.0.0 [beta 4])
                       2.9.0
                       2.8.1

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