I am getting following exception for saxson:xslt  SE

[Fatal Error] :36:3: The markup in the document following the root element
must be well-formed.
ERROR - SaxonComponent                 - Error processing exchange InOut[
  id: ID:10.111.121.4-1185f500e71-7:2
  status: Active
  role: provider
  service: {urn:servicemix:tutorial}xslt
  endpoint: transform
  in: <?xml version="1.0" encoding="UTF-8"?><persons>
  <person>
    <name>John</name>
    <family-name>Smith</family-name>
  </person>
  <person>
    <name>Morka</name>
    <family-name>Ismincius</family-name>
  </person>
</persons>
  out: null
]
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed
.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123)
        at
org.apache.servicemix.saxon.SaxonEndpoint.parse(SaxonEndpoint.java:276)
        at
org.apache.servicemix.saxon.XsltEndpoint.createXsltSource(XsltEndpoint.java:108)
        at
org.apache.servicemix.saxon.XsltEndpoint.getXsltSource(XsltEndpoint.java:102)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTemplates(XsltEndpoint.java:122)
        at
org.apache.servicemix.saxon.XsltEndpoint.getTemplates(XsltEndpoint.java:113)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTransformer(XsltEndpoint.java:141)
        at
org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:72)
        at
org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:220)
        at
org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.ja
va:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
ERROR - FileComponent                  - Failed to process file:
\Test\Sender\Test.xml. Reason: org.xml.
sax.SAXParseException: The markup in the document following the root element
must be well-formed.
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed
.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123)
        at
org.apache.servicemix.saxon.SaxonEndpoint.parse(SaxonEndpoint.java:276)
        at
org.apache.servicemix.saxon.XsltEndpoint.createXsltSource(XsltEndpoint.java:108)
        at
org.apache.servicemix.saxon.XsltEndpoint.getXsltSource(XsltEndpoint.java:102)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTemplates(XsltEndpoint.java:122)
        at
org.apache.servicemix.saxon.XsltEndpoint.getTemplates(XsltEndpoint.java:113)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTransformer(XsltEndpoint.java:141)
        at
org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:72)
        at
org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:220)
        at
org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.ja
va:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
INFO  - JBIContainer                   - ServiceMix JBI Container
(ServiceMix) started
INFO  - AutoDeploymentService          - Location proj-sa-1.0-SNAPSHOT.jar
no longer exists - removing .
..
INFO  - AutoDeploymentService          - Attempting to remove archive at:
proj-sa-1.0-SNAPSHOT.jar
INFO  - AutoDeploymentService          - Undeploying service assembly
proj-sa
INFO  - ServiceAssemblyLifeCycle       - Shutting down service assembly:
proj-sa
INFO  - ServiceUnitLifeCycle           - Stopping service unit: proj-file-su
INFO  - ServiceUnitLifeCycle           - Stopping service unit: proj-eip-su
INFO  - ServiceUnitLifeCycle           - Stopping service unit: proj-xslt-su
INFO  - ServiceUnitLifeCycle           - Shutting down service unit:
proj-file-su
INFO  - ServiceUnitLifeCycle           - Shutting down service unit:
proj-eip-su
INFO  - ServiceUnitLifeCycle           - Shutting down service unit:
proj-xslt-su
INFO  - ServiceAssemblyLifeCycle       - Shutting down service assembly:
proj-sa
INFO  - DeploymentService              - UnDeployed ServiceUnit proj-file-su
from Component: servicemix-
file
INFO  - DeploymentService              - UnDeployed ServiceUnit proj-eip-su
from Component: servicemix-e
ip
INFO  - DeploymentService              - UnDeployed ServiceUnit proj-xslt-su
from Component: servicemix-
saxon
INFO  - JDBCAdapterFactory             - Database driver recognized:
[apache_derby_embedded_jdbc_driver]

INFO  - LogTask                        - Logging system reconfigured using
file: file:/C:/Apache%20Softw
are%20Foundation/apache-servicemix-3.2.1/conf/log4j.xml
INFO  - AutoDeploymentService          - Directory: hotdeploy: Archive
changed: processing proj-sa-1.0-S
NAPSHOT.jar ...
INFO  - ServiceAssemblyLifeCycle       - Starting service assembly: proj-sa
INFO  - ServiceUnitLifeCycle           - Initializing service unit:
proj-file-su
INFO  - ServiceUnitLifeCycle           - Initializing service unit:
proj-eip-su
INFO  - ServiceUnitLifeCycle           - Initializing service unit:
proj-xslt-su
INFO  - ServiceUnitLifeCycle           - Starting service unit: proj-file-su
INFO  - ServiceUnitLifeCycle           - Starting service unit: proj-eip-su
INFO  - ServiceUnitLifeCycle           - Starting service unit: proj-xslt-su
INFO  - AutoDeploymentService          - Directory: hotdeploy: Finished
installation of archive:  proj-s
a-1.0-SNAPSHOT.jar
[Fatal Error] :36:3: The markup in the document following the root element
must be well-formed.
ERROR - SaxonComponent                 - Error processing exchange InOut[
  id: ID:10.111.121.4-1185f500e71-7:3
  status: Active
  role: provider
  service: {urn:servicemix:tutorial}xslt
  endpoint: transform  in: <?xml version="1.0" encoding="UTF-8"?><persons>
  <person>
    <name>John</name>
    <family-name>Smith</family-name>
  </person>
  <person>
    <name>Morka</name>
    <family-name>Ismincius</family-name>
  </person>
</persons>  out: null
]
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed
.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123)
        at
org.apache.servicemix.saxon.SaxonEndpoint.parse(SaxonEndpoint.java:276)
        at
org.apache.servicemix.saxon.XsltEndpoint.createXsltSource(XsltEndpoint.java:108)
        at
org.apache.servicemix.saxon.XsltEndpoint.getXsltSource(XsltEndpoint.java:102)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTemplates(XsltEndpoint.java:122)
        at
org.apache.servicemix.saxon.XsltEndpoint.getTemplates(XsltEndpoint.java:113)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTransformer(XsltEndpoint.java:141)
        at
org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:72)
        at
org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:220)
        at
org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.ja
va:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)
ERROR - FileComponent                  - Failed to process file:
\Test\Sender\Test.xml. Reason: org.xml.
sax.SAXParseException: The markup in the document following the root element
must be well-formed.
org.xml.sax.SAXParseException: The markup in the document following the root
element must be well-formed.
        at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
        at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
        at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:123)
        at
org.apache.servicemix.saxon.SaxonEndpoint.parse(SaxonEndpoint.java:276)
        at
org.apache.servicemix.saxon.XsltEndpoint.createXsltSource(XsltEndpoint.java:108)
        at
org.apache.servicemix.saxon.XsltEndpoint.getXsltSource(XsltEndpoint.java:102)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTemplates(XsltEndpoint.java:122)
        at
org.apache.servicemix.saxon.XsltEndpoint.getTemplates(XsltEndpoint.java:113)
        at
org.apache.servicemix.saxon.XsltEndpoint.createTransformer(XsltEndpoint.java:141)
        at
org.apache.servicemix.saxon.XsltEndpoint.transform(XsltEndpoint.java:72)
        at
org.apache.servicemix.saxon.SaxonEndpoint.processInOut(SaxonEndpoint.java:220)
        at
org.apache.servicemix.common.endpoints.ProviderEndpoint.process(ProviderEndpoint.java:109)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.doProcess(AsyncBaseLifeCycle.java:538)
        at
org.apache.servicemix.common.AsyncBaseLifeCycle.processExchange(AsyncBaseLifeCycle.java:490)
        at
org.apache.servicemix.common.BaseLifeCycle.onMessageExchange(BaseLifeCycle.java:46)
        at
org.apache.servicemix.jbi.messaging.DeliveryChannelImpl.processInBound(DeliveryChannelImpl.ja
va:610)
        at
org.apache.servicemix.jbi.nmr.flow.AbstractFlow.doRouting(AbstractFlow.java:170)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaFlow.doRouting(SedaFlow.java:167)
        at
org.apache.servicemix.jbi.nmr.flow.seda.SedaQueue$1.run(SedaQueue.java:134)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650)
        at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675)
        at java.lang.Thread.run(Thread.java:595)

I have parsed this xml file using standalone java program successfully.It
also opened in EE without any problem.
I don't know what's wrong with this file.

Have anybody faced similar problem?
-- 
View this message in context: 
http://www.nabble.com/org.xml.sax.SAXParseException%3A-The-markup-in-the-document-following-the-root-element-must-be-well-formed-tp15732529s12049p15732529.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.

Reply via email to