You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jaxme-dev@ws.apache.org by ja...@ws.apache.org on 2004/08/21 21:49:20 UTC
[jira] Commented: (JAXME-24) Importing schemas with an empty targetNamespace
The following comment has been added to this issue:
Author: Jochen Wiedmann
Created: Sat, 21 Aug 2004 12:48 PM
Body:
See
http://lists.w3.org/Archives/Public/xmlschema-dev/2004Aug/0095.html
for a possible implementation.
---------------------------------------------------------------------
View this comment:
http://issues.apache.org/jira/browse/JAXME-24?page=comments#action_37381
---------------------------------------------------------------------
View the issue:
http://issues.apache.org/jira/browse/JAXME-24
Here is an overview of the issue:
---------------------------------------------------------------------
Key: JAXME-24
Summary: Importing schemas with an empty targetNamespace
Type: Bug
Status: Open
Priority: Major
Project: JaxMe
Components:
JaxMeXS
Versions:
current (nightly)
Assignee: Jochen Wiedmann
Reporter: Mik Lernout
Created: Thu, 19 Aug 2004 11:24 AM
Updated: Sat, 21 Aug 2004 12:48 PM
Environment: n.a.
Description:
When importing a schema with an empty targetNamespace in a schema with a non-empty targetNamespace the namespace references in the resulting syntaxt and logical model do not have correct namespaces.
The expected behaviour is described at http://www.w3.org/TR/xmlschema-1/#element-import.
There is also one little catch: the existing implemntation had a typing error:
- includedSchema.setTargetNamespace(includedSchema.getTargetNamespace());
+ includedSchema.setTargetNamespace(pIncludingSchema.getTargetNamespace());
but was also incomplete: it didn't cope with the references inside of the model that could still be using the empty namespace syntax, leaving the imported model incoherent.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: jaxme-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: jaxme-dev-help@ws.apache.org