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/19 20:30:20 UTC
[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace
The following issue has been updated:
Updater: Mik Lernout (mailto:mik@futurestreet.org)
Date: Thu, 19 Aug 2004 11:29 AM
Comment:
This is the fix for the described bug... it is not as clean as I wanted it to be but I don't think there is really another option without doing some major restructuring...
Changes:
Attachment changed to empty-targetNamespace.patch
---------------------------------------------------------------------
For a full history of the issue, see:
http://issues.apache.org/jira/browse/JAXME-24?page=history
---------------------------------------------------------------------
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: Unassigned
Priority: Major
Project: JaxMe
Components:
JaxMeXS
Versions:
current (nightly)
Assignee:
Reporter: Mik Lernout
Created: Thu, 19 Aug 2004 11:24 AM
Updated: Thu, 19 Aug 2004 11:29 AM
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