Hello all

i am using saxon-b and i encounter the following error which i don't really understand the meaning. Does anyone know the root cause ?

Error on line 255 column 12 of IoHwAbstraction.sparc2xml:
  SXXP0003: Error reported by XML parser: XML document structures must start and end within
  the same entity.
Recoverable error on line 30 of Sparc2IoHwAbstraction.xsl:
  FODC0002: org.xml.sax.SAXParseException: XML document structures must start and end within
  the same entity.


when i run this xsl via saxon-b call from a command line it works fine,
C:\DATA\ts_mirr\xml\jre1.5.0\bin\java -jar C:\DATA\ts_mirr\xml\Saxon-B\saxon9.jar -s:C:\DATA\uid30399\SparcUi\test\io_sparc\io_sparc.xml -xsl:C:\DATA\uid30399\SparcUi\test\xsl\Sparc2Xml\Sparc2IoHwAbstraction.xsl -o:C:\DATA\uid30399\SparcUi\test\io_sparc\out.xml  projectfile="C:/DATA/uid30399/SparcUi/test/io_model_transformation.xml"

when i run the same xsl from my java application which run saxon-b then i get this error


thank you for your help
Philippe