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 "Andreas Arrgård (JIRA)" <ja...@ws.apache.org> on 2005/11/19 00:23:41 UTC

[jira] Created: (JAXME-72) Generated structures that has xsd:QName types does not marshal correcly.

Generated structures that has xsd:QName types does not marshal correcly.
------------------------------------------------------------------------

         Key: JAXME-72
         URL: http://issues.apache.org/jira/browse/JAXME-72
     Project: JaxMe
        Type: Bug
  Components: JaxMe Core  
    Versions: 0.5    
 Environment: WIndows XP with Sun JDK
    Reporter: Andreas Arrgård


When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Andreas Arrgård (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-72?page=comments#action_12358764 ] 

Andreas Arrgård commented on JAXME-72:
--------------------------------------

thx, however I cannot seem to find the patched versions in the CVS(using the view cvs link from http://ws.apache.org/jaxme/resources.html). Am I missing something? Also, when are the maven repositories updated?

> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>      Fix For: 0.6
>  Attachments: JiraTest.patch, jaxme-72.xsd, patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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] Geschlossen: (JAXME-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-72?page=all ]
     
Jochen Wiedmann closed JAXME-72:
--------------------------------

    Fix Version: 0.6
     Resolution: Fixed

Patch applied to the branches 0.4, 0.5 and MAVEN (future 0.6). Note, that I changed one details: The method for generating the namespace prefix is not getAttrQName, but getElementQName. Otherwise, the default namespace would always be mapped to the missing prefix, which would most probably be wrong.


> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>      Fix For: 0.6
>  Attachments: JiraTest.patch, jaxme-72.xsd, patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Andreas Arrgård (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-72?page=all ]

Andreas Arrgård updated JAXME-72:
---------------------------------

    Attachment: jaxme-72.xsd

> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>  Attachments: jaxme-72.xsd, patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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] Kommentiert: (JAXME-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-72?page=comments#action_12358777 ] 

Jochen Wiedmann commented on JAXME-72:
--------------------------------------

The repository was converted to subversion since the last release. Try

  http://svn.apache.org/repos/asf/webservices/jaxme



> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>      Fix For: 0.6
>  Attachments: JiraTest.patch, jaxme-72.xsd, patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Andreas Arrgård (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-72?page=all ]

Andreas Arrgård updated JAXME-72:
---------------------------------

    Attachment: patch.txt

This patch fixes the problem so that the generated XML is valid, however perhaps the DatatypeConverter should be modified to support the same logic as the JMSAXDriverController does when constructing qualified names. Do you want me to build a test case for this, I have not spent that much time digging into the build process...

> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>  Attachments: patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Andreas Arrgård (JIRA)" <ja...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/JAXME-72?page=all ]

Andreas Arrgård updated JAXME-72:
---------------------------------

    Attachment: JiraTest.patch

> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>  Attachments: JiraTest.patch, jaxme-72.xsd, patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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] Kommentiert: (JAXME-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Jochen Wiedmann (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-72?page=comments#action_12358070 ] 

Jochen Wiedmann commented on JAXME-72:
--------------------------------------

I'd highly appreciate a Unit test, or at least an example, that demonstrates what problem is fixed by your patch. To be honest, I haven't yet understood what the problem is ... :-)


> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>  Attachments: patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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-72) Generated structures that has xsd:QName types does not marshal correcly.

Posted by "Andreas Arrgård (JIRA)" <ja...@ws.apache.org>.
    [ http://issues.apache.org/jira/browse/JAXME-72?page=comments#action_12358102 ] 

Andreas Arrgård commented on JAXME-72:
--------------------------------------

Ok, I created an xsd file that should be placed in the src\test\jaxb\jira directory. This xsd generates a structure that the JiraTest test uses. The test should fail with the current code and work with the supplied patch.

> Generated structures that has xsd:QName types does not marshal correcly.
> ------------------------------------------------------------------------
>
>          Key: JAXME-72
>          URL: http://issues.apache.org/jira/browse/JAXME-72
>      Project: JaxMe
>         Type: Bug
>   Components: JaxMe Core
>     Versions: 0.5
>  Environment: WIndows XP with Sun JDK
>     Reporter: Andreas Arrgård
>  Attachments: JiraTest.patch, jaxme-72.xsd, patch.txt
>
> When generating sources from XSDs that refers to the xsd:QName type the qualified name is not declared when the type is marshaled.

-- 
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
-
For more information on JIRA, 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