[
https://issues.apache.org/jira/browse/XERCESJ-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chris Simmons updated XERCESJ-1518:
-----------------------------------
Attachment: schema-whitespace-patch.txt
Patch with test case and potential fix. Without the fix to XSDHandler then
only the backwards-reference case passes.
> Forward references to types etc are not subject to whitespace normalization.
> ----------------------------------------------------------------------------
>
> Key: XERCESJ-1518
> URL: https://issues.apache.org/jira/browse/XERCESJ-1518
> Project: Xerces2-J
> Issue Type: Bug
> Components: XML Schema 1.0 Datatypes
> Affects Versions: 2.11.0
> Reporter: Chris Simmons
> Attachments: schema-whitespace-patch.txt
>
>
> If, say, an element references its type and the element is lexically before
> the type then the type may fail to resolve if the type name contains
> whitespace. This will happen for all cross references as they are handled
> similarly. I'll attach a patch with a test and simple fix shortly.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]