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

Michael Glavassevich reassigned XERCESJ-1606:
---------------------------------------------

    Assignee: Michael Glavassevich
    
> Wrong element name in "src-resolve" validation error
> ----------------------------------------------------
>
>                 Key: XERCESJ-1606
>                 URL: https://issues.apache.org/jira/browse/XERCESJ-1606
>             Project: Xerces2-J
>          Issue Type: Bug
>          Components: XML Schema 1.0 Structures, XML Schema 1.1 Datatypes
>    Affects Versions: 2.11.0
>            Reporter: Octavian Nadolu
>            Assignee: Michael Glavassevich
>            Priority: Trivial
>
> If I validate the following schema I get a validation error that is correct. 
> But the message of the error should contain 'test' element name instead of 
> ''test_fn3dktizrknc9pi''.
> I tested on the xml-schema-1.1-dev branch. 
> The validation error:
> src-resolve: Cannot resolve the name 'test_fn3dktizrknc9pi' to a(n) 'type 
> definition' component.
> ------- schema.xsd ----------------------------
> <?xml version="1.0" encoding="UTF-8"?>
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"; >
>     <xs:redefine schemaLocation="">
>         <xs:complexType name="test">
>             <xs:complexContent>
>                 <xs:restriction base="test">
>                 </xs:restriction>
>             </xs:complexContent>
>         </xs:complexType>
>     </xs:redefine>
> </xs:schema>
> -------------------------------------------------------------

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
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]

Reply via email to