You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Marc Giger (Updated) (JIRA)" <ji...@apache.org> on 2012/04/07 15:03:16 UTC

[jira] [Updated] (XMLSCHEMA-7) Only the first xsd:key and xsd:keyref elements are added to the schema structure when persing a schema

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

Marc Giger updated XMLSCHEMA-7:
-------------------------------

    Attachment: XMLSCHEMA-7.patch
    
> Only the first xsd:key and xsd:keyref elements are added to the schema structure when persing a schema
> ------------------------------------------------------------------------------------------------------
>
>                 Key: XMLSCHEMA-7
>                 URL: https://issues.apache.org/jira/browse/XMLSCHEMA-7
>             Project: XmlSchema
>          Issue Type: Bug
>    Affects Versions: XmlSchema 1.4.6
>            Reporter: Steve Potter
>         Attachments: XMLSCHEMA-7.patch
>
>
> When multiple  xsd:key and xsd:keyref elements are added for a single xsd:element, only the first are added to the schema structure.  The problem is solved by replacing calls to XDOMUtil.getNextSiblingElement by XDOMUtil.getNextSiblingElementNS at lines 1432 and 1446 in class SchemaBuilder.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org