You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by Nick Van den Bleeken <Ni...@pandora.be> on 2004/11/07 19:38:53 UTC

Problem with namespaces in ToXMLStream of java

Hi all,

There is a problem in ToXMLStream (org.apache.xml.serializer.ToXMLStream) if 
there is an attribute of a namespace that is never used before, the 
namespace is never defined in this case. As attachment you can find a small 
test program that demonstrates the problem and a patch file that solves the 
problem. I am not sure if it is the patch is the way that the problem needs 
to be solved, but it works. Can the patch be applied on the CVS tree? Or can 
the problem be solved on the CVS in an other way? If you need more 
information please feel free to ask.

Thanks in advance,
Nick Van den Bleeken 

Re: Problem with namespaces in ToXMLStream of java

Posted by Christine Li <jy...@ca.ibm.com>.
Hi, Nick 

Please open a bug report at 
http://nagoya.apache.org/jira/secure/Dashboard.jspa and attach your patch. 
Thanks,

Christine Li
XSLT Development
IBM Toronto Lab
Tel: (905)413-2601
Email: jycli@ca.ibm.com



"Nick Van den Bleeken" <Ni...@pandora.be> 
11/07/2004 01:38 PM
Please respond to
xalan-dev


To
<xa...@xml.apache.org>
cc

Subject
Problem with namespaces in ToXMLStream of java






Hi all,

There is a problem in ToXMLStream (org.apache.xml.serializer.ToXMLStream) 
if 
there is an attribute of a namespace that is never used before, the 
namespace is never defined in this case. As attachment you can find a 
small 
test program that demonstrates the problem and a patch file that solves 
the 
problem. I am not sure if it is the patch is the way that the problem 
needs 
to be solved, but it works. Can the patch be applied on the CVS tree? Or 
can 
the problem be solved on the CVS in an other way? If you need more 
information please feel free to ask.

Thanks in advance,
Nick Van den Bleeken 
[attachment "Test.java" deleted by Christine Li/Toronto/IBM] [attachment 
"Xalan_ToStream.patch" deleted by Christine Li/Toronto/IBM] 
---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org