axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Created: (AXIS-1258) xsd:list of QName is not handled properly
Date Tue, 23 Mar 2004 00:58:58 GMT
Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=AXIS-1258

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: AXIS-1258
    Summary: xsd:list of QName is not handled properly
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: Axis
 Components: 
             Serialization/Deserialization

   Assignee: 
   Reporter: gawor

    Created: Mon, 22 Mar 2004 4:58 PM
    Updated: Mon, 22 Mar 2004 4:58 PM

Description:
This is resubmission from bugzilla (http://nagoya.apache.org/bugzilla/show_bug.cgi?id=27356):

The following definition:

       <xsd:element name="foo">
          <xsd:simpleType>
            <xsd:list itemType="xsd:QName" />
          </xsd:simpleType>
       </xsd:element>

With values such as xmlns:n1=foo xmlns:n2=foo2 n1:bar n2:bar2 is serialized as:

<foo>{foo}bar {foo2}bar2</foo>

Which is not correct. Also even if serialized properly the deserialization is 
invalid. The SimpleListDeserializer tries to pass the token value of QName
(String) constructor but this is wrong since the QName(String) constructor only 
accepts a localName and also proper namespace prefix resolution is not 
performed.

The attached patch fixes the serialization and deserialization problems.




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


Mime
View raw message