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

Michael Glavassevich updated XERCESJ-1219:
------------------------------------------

          Component/s: XML Schema Structures
    Affects Version/s: 2.9.0

> error not reported during schema redefine processing
> ----------------------------------------------------
>
>                 Key: XERCESJ-1219
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1219
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema Structures
>    Affects Versions: 2.9.0
>            Reporter: cargilld
>            Priority: Minor
>
> Xerces-J is not reporting an error when attempting to redefine a group in a 
> schema document which is not defined in the "redefined schema *document*" but 
> in a document which is included by the "redefined schema *document*".
> For example.  Schema A has a redefine of Schema B for the group keyword.  
> Schema B has an include of Schema C which has the keyword group as well as 
> some other includes.  An error should be reported for not finding the group 
> keyword in Schema B.
> In 4.2.2, there is a sentence "In all cases there must be a top-level 
> definition item of the appropriate name and kind in the <redefine>d schema 
> document." which means A can't redefine a component in C. it can only 
> redefine components in B.
> Xerces-J also allows A includes B and redefines C, but the component being 
> redefined is from B.

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