You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by ji...@apache.org on 2004/06/10 19:19:09 UTC

[jira] Created: (WSRP4J-21) Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/WSRP4J-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WSRP4J-21
    Summary: Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: WSRP4J
 Components: 
             Other

   Assignee: 
   Reporter: Christopher Coco

    Created: Thu, 10 Jun 2004 10:17 AM
    Updated: Thu, 10 Jun 2004 10:17 AM
Environment: Windows 2000/Weblogic 8.1sp2/Apache Axis 1.1

Description:
These three objects, have type descriptions which are used to serialize and deserialize the objects to and from XML. The problem is that the attribute "lang" is not correctly namespaced and strict parsers fail on the attribute. It should be namespaced as "xml:lang".

Currently, the code looks like the following for (as an example) ResourceValue:
....
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "lang"));
...

but should be:
...
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "xml:lang"));

...


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


[jira] Closed: (WSRP4J-21) Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements

Posted by ji...@apache.org.
Message:

   The following issue has been closed.

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/WSRP4J-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WSRP4J-21
    Summary: Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: WON'T FIX

    Project: WSRP4J
 Components: 
             Other

   Assignee: 
   Reporter: Christopher Coco

    Created: Thu, 10 Jun 2004 10:17 AM
    Updated: Mon, 14 Jun 2004 9:47 AM
Environment: Windows 2000/Weblogic 8.1sp2/Apache Axis 1.1

Description:
These three objects, have type descriptions which are used to serialize and deserialize the objects to and from XML. The problem is that the attribute "lang" is not correctly namespaced and strict parsers fail on the attribute. It should be namespaced as "xml:lang".

Currently, the code looks like the following for (as an example) ResourceValue:
....
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "lang"));
...

but should be:
...
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "xml:lang"));

...


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


[jira] Reopened: (WSRP4J-21) Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements

Posted by ji...@apache.org.
Message:

   The following issue has been reopened.

   Reopener: Richard Jacob
       Date: Wed, 16 Jun 2004 2:27 AM

I just reopened so it doesn't get lost on my ToDo list.
The key point here is:
there is a bug in Axis 1.1 which prevents the code generator to emmit code for attributes of type xml:lang.
We circumvented it by changing the attribs in wsdl to string, generating the code and patching the bean serializer/deserializer.
Therefor the types should be correct for our producer (the class files are in the producer war).

Unfortunatly this isn't fixed in Axis 1.2 so we still need to patch.
I'll took the migration to Axis, therefor I will provide the workaround
here, too.

The clean way would be to patch Axis to correctly gen' the code and the serializers/deserializers.
Feel free to go ahead here.
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/WSRP4J-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WSRP4J-21
    Summary: Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements
       Type: Bug

     Status: Reopened
   Priority: Major

    Project: WSRP4J
 Components: 
             Other

   Assignee: Richard Jacob
   Reporter: Christopher Coco

    Created: Thu, 10 Jun 2004 10:17 AM
    Updated: Wed, 16 Jun 2004 2:27 AM
Environment: Windows 2000/Weblogic 8.1sp2/Apache Axis 1.1

Description:
These three objects, have type descriptions which are used to serialize and deserialize the objects to and from XML. The problem is that the attribute "lang" is not correctly namespaced and strict parsers fail on the attribute. It should be namespaced as "xml:lang".

Currently, the code looks like the following for (as an example) ResourceValue:
....
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "lang"));
...

but should be:
...
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "xml:lang"));

...


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


[jira] Closed: (WSRP4J-21) Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements

Posted by ji...@apache.org.
Message:

   The following issue has been closed.

   Resolver: Richard Jacob
       Date: Wed, 16 Jun 2004 6:09 AM

fixed with wsrp4j-26
---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/WSRP4J-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WSRP4J-21
    Summary: Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements
       Type: Bug

     Status: Closed
   Priority: Major
 Resolution: FIXED

    Project: WSRP4J
 Components: 
             Other
   Fix Fors:
             current (nightly)

   Assignee: Richard Jacob
   Reporter: Christopher Coco

    Created: Thu, 10 Jun 2004 10:17 AM
    Updated: Wed, 16 Jun 2004 6:09 AM
Environment: Windows 2000/Weblogic 8.1sp2/Apache Axis 1.1

Description:
These three objects, have type descriptions which are used to serialize and deserialize the objects to and from XML. The problem is that the attribute "lang" is not correctly namespaced and strict parsers fail on the attribute. It should be namespaced as "xml:lang".

Currently, the code looks like the following for (as an example) ResourceValue:
....
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "lang"));
...

but should be:
...
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "xml:lang"));

...


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


[jira] Commented: (WSRP4J-21) Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements

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

     Author: Julie MacNaught
    Created: Mon, 14 Jun 2004 9:46 AM
       Body:
Unfortunately, this is a bug in the code that the stub generator creates.  It's an Axis issue.

I will see if it's fixed in 1.2, since we are thinking of upgrading to 1.2 anyway.
---------------------------------------------------------------------
View this comment:
  http://issues.apache.org/jira/browse/WSRP4J-21?page=comments#action_36156

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/WSRP4J-21

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: WSRP4J-21
    Summary: Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: WSRP4J
 Components: 
             Other

   Assignee: 
   Reporter: Christopher Coco

    Created: Thu, 10 Jun 2004 10:17 AM
    Updated: Mon, 14 Jun 2004 9:46 AM
Environment: Windows 2000/Weblogic 8.1sp2/Apache Axis 1.1

Description:
These three objects, have type descriptions which are used to serialize and deserialize the objects to and from XML. The problem is that the attribute "lang" is not correctly namespaced and strict parsers fail on the attribute. It should be namespaced as "xml:lang".

Currently, the code looks like the following for (as an example) ResourceValue:
....
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "lang"));
...

but should be:
...
org.apache.axis.description.AttributeDesc attrField = new org.apache.axis.description.AttributeDesc();
attrField.setFieldName("lang");
attrField.setXmlName(new javax.xml.namespace.QName("", "xml:lang"));

...


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