Details
-
Bug
-
Status: Resolved
-
Resolution: Fixed
-
2.2.x
-
None
-
None
-
Operating System: Windows NT/2K
Platform: PC
-
3881
Description
Hi,
I have a problem with a Stylesheet adding some attributes to a XML document.
I get the following exception:
org.apache.xml.dtm.ref.IncrementalSAXSource_Filter$StopException
at org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.co_yield(Increment
alSAXSource_Filter.java:586)
at org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.endDocument(Increm
entalSAXSource_Filter.java:267)
at org.dom4j.io.SAXWriter.endDocument(SAXWriter.java:498)
at org.dom4j.io.SAXWriter.write(SAXWriter.java:128)
at org.dom4j.io.SAXWriter.parse(SAXWriter.java:387)
at org.apache.xml.dtm.ref.IncrementalSAXSource_Filter.run(IncrementalSAX
Source_Filter.java:647)
at java.lang.Thread.run(Thread.java:484)
I use this code fragment with the early access implementation of JAXM:
soapWriter = processor.newTransformer(new StreamSource
("file:///e:/Literatur/ebxml/xsd/schema.xslt"));
soapWriter.transform(soapMessage.getSOAPPart().getContent(), new
StreamResult("file:///e:/Literatur/ebxml/xsd/" + test + ".xml"));
I have attached the XSLT and the result, which I get with Saxon, and the input
as XML.
Best regards
Thomas
PS. Because I am on vacation next week donĀ“t worry if you get no answer to
further questions before 08.10.01. But try, may be I am able to answer before.