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:26:30 UTC

[jira] Created: (JAXME-24) Importing schemas with an empty targetNamespace

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
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:24 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


[jira] Closed: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
Message:

   The following issue has been closed.

   Resolver: Jochen Wiedmann
       Date: Wed, 1 Sep 2004 11:52 PM

Applied a slightly modified version of the wildcard patch into HEAD.
I won't apply it to the 0.3 branch, because I find the test case
more difficult to integrate there and the feature seems infrequently
used, so it seems sufficient for 0.4.

A word on XsESchema.getTargetNamespace(): We can't change this to return non-null, because there's already a lot code using it (in
particular, but not exhaustive, the JaxMe core) so that remains as
it is.

---------------------------------------------------------------------
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: Closed
   Priority: Major
 Resolution: FIXED

    Project: JaxMe
 Components: 
             JaxMeXS
   Versions:
             current (nightly)

   Assignee: Jochen Wiedmann
   Reporter: Mik Lernout

    Created: Thu, 19 Aug 2004 11:24 AM
    Updated: Wed, 1 Sep 2004 11:52 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


[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following issue has been updated:

    Updater: Jochen Wiedmann (mailto:jochen@apache.org)
       Date: Thu, 19 Aug 2004 12:59 PM
    Comment:
Applied the patch to XSLogicalParser.java, keeping the remaining parts
of the patch unchanged.

    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 12:59 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


[jira] Commented: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following comment has been added to this issue:

     Author: Jochen Wiedmann
    Created: Thu, 26 Aug 2004 6:06 PM
       Body:
Applied patch #3. The problem with wildcards is still open. We'll need
another fix before closing the issue.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAXME-24?page=comments#action_37504

---------------------------------------------------------------------
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: In Progress
   Priority: Major

    Project: JaxMe
 Components: 
             JaxMeXS
   Versions:
             current (nightly)

   Assignee: Jochen Wiedmann
   Reporter: Mik Lernout

    Created: Thu, 19 Aug 2004 11:24 AM
    Updated: Thu, 26 Aug 2004 6:06 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


[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following issue has been updated:

    Updater: Mik Lernout (mailto:mik@futurestreet.org)
       Date: Tue, 31 Aug 2004 12:52 AM
    Comment:
Pfff, took be a bit longer than expected, but work got hectic :-)
One other thing that I changed to make the patch a bit cleaner was to redefine the getTargetNamespace()-method of XsESchemaImpl so it never returns null: null does not mean anything in the context (it's no different from XsAnyURI("")) and it cleans the code that uses it a lot...
    Changes:
             Attachment changed to wildcard.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: In Progress
   Priority: Major

    Project: JaxMe
 Components: 
             JaxMeXS
   Versions:
             current (nightly)

   Assignee: Jochen Wiedmann
   Reporter: Mik Lernout

    Created: Thu, 19 Aug 2004 11:24 AM
    Updated: Tue, 31 Aug 2004 12:52 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


[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
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


[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following issue has been updated:

    Updater: Jochen Wiedmann (mailto:jochen@apache.org)
       Date: Thu, 19 Aug 2004 12:58 PM
    Changes:
             Attachment changed from 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 12:58 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


[jira] Commented: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following comment has been added to this issue:

     Author: Jochen Wiedmann
    Created: Mon, 23 Aug 2004 11:58 PM
       Body:
An open issue: wildcards with ##targetNamespace.

Mik, do you have the time to extend the patch along the same line?
(By default, create immutable instances of XsNamespaceList, but
mutable, if required?)

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAXME-24?page=comments#action_37423

---------------------------------------------------------------------
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: Mon, 23 Aug 2004 11:58 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


[jira] Commented: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
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


[jira] Commented: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following comment has been added to this issue:

     Author: Jochen Wiedmann
    Created: Sun, 22 Aug 2004 11:18 PM
       Body:
The idea of an implementation on the SAX layer is nonsense, sorry! In fact, event the standard XML schema attributes use the default namespace and would become unusable.

Thus, reverting to your original idea, but with slight modifications: Please verify the attached patch xsInclude.patch. If this works for
you, we'll add it to HEAD.

---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/JAXME-24?page=comments#action_37394

---------------------------------------------------------------------
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: Sun, 22 Aug 2004 11:18 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


[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following issue has been updated:

    Updater: Jochen Wiedmann (mailto:jochen@apache.org)
       Date: Sun, 22 Aug 2004 11:15 PM
    Comment:
Suggested patch

    Changes:
             Attachment changed to xsInclude.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: 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: Sun, 22 Aug 2004 11:15 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


[jira] Updated: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
The following issue has been updated:

    Updater: Jochen Wiedmann (mailto:jochen@apache.org)
       Date: Thu, 19 Aug 2004 12:57 PM
    Comment:
Applied the patch for XSLogicalParser and removed that from the original
patch, which is otherwise unchanged.

    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 12:57 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


[jira] Assigned: (JAXME-24) Importing schemas with an empty targetNamespace

Posted by ja...@ws.apache.org.
Message:

   The following issue has been re-assigned.

   Assignee: Jochen Wiedmann (mailto:jochen@apache.org)
   Assigner: Jochen Wiedmann (mailto:jochen@apache.org)
       Date: Thu, 19 Aug 2004 1:00 PM
    Comment:
Understood the problem and applied the patch to XSLogicalParser.java.
Would like to think a little bit, though, before applying the rest.
---------------------------------------------------------------------
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: Thu, 19 Aug 2004 1:00 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