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/14 18:47:12 UTC
[jira] Commented: (WSRP4J-21) Property, ResourceValue, and LocalizedString need to specify 'xml:lang' for the 'lang' attribute field of the Elements
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