axis-c-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Susantha Kumara" <susan...@opensource.lk>
Subject RE: There is a Known Issue in xsd:any DeSerializer - Need new method getPrefix4NS() in the Parser
Date Thu, 24 Jun 2004 10:49:35 GMT
Hi Amila,
 
I applied the patch you had sent for supporting xsd:any (Deserializing
and Serializing functionalities).
 
Keep up good work. Thanks,
 
Also I added 2 new API functions to the XMLParser API and implemented
them in the Expat Wrapper and did some changes in the serializeTag
method to use the new functions.
 
I am implementing the 2 new functions in Xerces wrapper.
 
Please test the samples that you wrote to test xsd:any support with the
new CVS code.
 
Thanks,
 
Susantha.
--- 
 
-----Original Message-----
From: Amila Rathnayake [mailto:writetoamila@yahoo.com] 
Sent: Tuesday, June 22, 2004 5:35 PM
To: axis-c-dev@ws.apache.org
Subject: There is a Known Issue in xsd:any DeSerializer - Need new
method getPrefix4NS() in the Parser
 
Hi All,
 
I have sent the Serializer and DeSerializer for xsd:any type in wsdl's.
 
But, in the DeSerializer there is a known issue / bug. The DeSerializer
was written for xsd:any type in the way once Susantha has suggested. But
within the serializeTag() method in the DeSerializer it needs a way to
get the namespace prefix for given namespace URI which is not there in
the parser.
 
But in both the XMLParserExpat.cpp and XMLParserXerces.cpp there is a
method called getNS4Prefix(const XML_Ch* prefix) to get the namespace
for given namespace prefix.
 
So it needs to add a method into the XMLParser.h which is the base class
for both XMLParserExpat.cpp and XMLParserXerces.cpp to return the
namespace prefix for given namespace URI, which works in the other way
round as getNS4Prefix().
 
There is no other way to serialize the inner tags within xsd:any type in
DeSerializer unless we add this functionality to the parser.
 
Let's discuss this issue and suggest a better answer.
 
Thanks and Regards,
Amila Rathnayake.
 

  _____  

Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
<http://us.rd.yahoo.com/mail_us/taglines/new/*http://promotions.yahoo.co
m/new_mail> 

Mime
View raw message