You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by "Steve Potter (JIRA)" <ji...@apache.org> on 2010/11/14 18:22:14 UTC
[jira] Created: (XMLSCHEMA-7) Only the first xsd:key and xsd:keyref
elements are added to the schema structure when persing a schema
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
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.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ws.apache.org
For additional commands, e-mail: dev-help@ws.apache.org
[jira] [Resolved] (XMLSCHEMA-7) Only the first xsd:key and
xsd:keyref elements are added to the schema structure when persing a schema
Posted by "Daniel Kulp (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/XMLSCHEMA-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp resolved XMLSCHEMA-7.
---------------------------------
Resolution: Fixed
Fix Version/s: 2.0.2
> 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
> Assignee: Daniel Kulp
> Fix For: 2.0.2
>
> 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
[jira] [Commented] (XMLSCHEMA-7) Only the first xsd:key and
xsd:keyref elements are added to the schema structure when persing a schema
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/XMLSCHEMA-7?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13249315#comment-13249315 ]
Hudson commented on XMLSCHEMA-7:
--------------------------------
Integrated in xmlschema-trunk-jdk15 #24 (See [https://builds.apache.org/job/xmlschema-trunk-jdk15/24/])
[XMLSCHEMA-7] Fix issues with multiple xsd:key/keyrefs not being output.
Patch from Marc Giger applied (Revision 1310816)
Result = SUCCESS
dkulp :
Files :
* /webservices/xmlschema/trunk/xmlschema-core/src/main/java/org/apache/ws/commons/schema/SchemaBuilder.java
* /webservices/xmlschema/trunk/xmlschema-core/src/main/java/org/apache/ws/commons/schema/utils/DOMUtil.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/java/tests/ConstraintsTest.java
* /webservices/xmlschema/trunk/xmlschema-core/src/test/resources/constraints.xsd
> 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
> Assignee: Daniel Kulp
> Fix For: 2.0.2
>
> 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
[jira] [Updated] (XMLSCHEMA-7) Only the first xsd:key and
xsd:keyref elements are added to the schema structure when persing a schema
Posted by "Marc Giger (Updated) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Assigned] (XMLSCHEMA-7) Only the first xsd:key and
xsd:keyref elements are added to the schema structure when persing a schema
Posted by "Daniel Kulp (Assigned) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/XMLSCHEMA-7?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Daniel Kulp reassigned XMLSCHEMA-7:
-----------------------------------
Assignee: Daniel Kulp
> 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
> Assignee: Daniel Kulp
> 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