Hi,
 
I'm using Xalan-C 1.10 and Xerces-C 2.7, and have just encountered what seems 
to be a bug (or a misunderstanding on my part).
Upgrading Xalan or Xerces is currently not an option due to time constraints.
 
I'm using XalanTransformer::transform and pass an istrstream as an input XML.
As long as my XML is upto 1423 characters, everything works like magic.
Once I pass in an 1424 characters long XML, I get a -2 return code, and an 
"invalid document structure" error message.
 
I looked around and saw a similar(?) bug that was first discovered in Xalan 
1.4, but the fix seems to reflect the current state of my code, plus the bug 
itself was not reproducable in Xalan 1.3 so I imagine it was introduced in 1.4.
 
Anyone encountered this issue, or can think of something I'm doing wrong? Even 
a way to workaround the issue would be greatly appreciated, as I'm pretty 
stumped here...
 
Thanks,
G.


      

Reply via email to