webMethods

webMethods

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
Expand all | Collapse all

XSLT SXS: Content is not allowed in prolog

  • 1.  XSLT SXS: Content is not allowed in prolog

    Posted Thu February 23, 2006 05:13 PM

    Tamino 4.4.1.3

    I am trying to use the XSLT X-Tension with the NASCAR_Driver example.
    If I could successfully install the X-Tension, using some hints I found in this forum, I have not been able to use it.

    Each time I try to run the following query, I receive the exception “javax.xml.transform.TransformerConfigurationException: javax.xml.transform.TransformerException: org.xml.sax.SAXParseException: Content is not allowed in prolog.”
    I attach to this message the full XSLT response.

    My query:
    http://localhost/tamino/xml/NASCAR_Drivers?_xql=XSLT.transform(NASCAR_Drivers,‘ino:etc’,‘xsl:stylesheet[@ino:id=1]’)

    The private classpath of the X-Tension:
    \xalan.jar;\xercesImpl.jar;\dom.jar;\sax.jar;\jaxp-API.jar;

    I use the JAR files provided with JAXP in “JavaTM Web Services Developer Pack 1.6”

    The SXS-Configuration file:

    OFF
    128
    com.sun.org.apache.xalan.internal.processor.TransformerFactoryImpl
    XSLT_result
    XSLT_input
    ON

    Where does the problem come from ?

    Thank you in advance for your help.

    Regards,

    Ludovic
    XSLT_ContentNotAllowedInProlog.xml (8.31 KB)


    #Tamino
    #webMethods
    #API-Management


  • 2.  RE: XSLT SXS: Content is not allowed in prolog

    Posted Wed March 01, 2006 09:49 AM

    Software AG R&D provided me a new version of the XSLT X-Tension.

    This new version solves the issue. :smiley:

    I attached the new SXP file to this message.

    Hope this help.

    Regards,

    Ludovic
    XSLT.SXP (13.3 KB)


    #webMethods
    #Tamino
    #API-Management