cancel
Showing results for 
Search instead for 
Did you mean: 

Reg - XSLT Mapping using stylesheet exception during test

Former Member
0 Kudos

Hi experts,

I am new to SAP PI. Currently i am working on PI's XSLT Mapping using Stylusstudio.

I got error *Transformer Configuration Exception occurred when loading XSLT <name>.xsl; details: Could not compile stylesheet*.

I tried test by selecting SAP XML TOOLKIT too, then i am facing

*com.sap.engine.lib.xml.parser.NestedSAXParseException: Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'a' is not mapped to a namespace (:main:, row:4, col:15)(:main:, row=4, col=15) -> com.sap.engine.lib.xml.parser.ParserException: XMLParser: Prefix 'a' is not mapped to a namespace (:main:, row:4, col:15)*.

Kindly help me to overcome this issue.

Accepted Solutions (1)

Accepted Solutions (1)

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

first check your XSLT program is correct OR NOT, i think it is having syntax errors, validate in stsylus studio and test if you get correct output then only test in PI

Regards,

Raj

Answers (2)

Answers (2)

Former Member
0 Kudos

thank you all

former_member184681
Active Contributor
0 Kudos

Hi,

Simply your XSLT file is not a well-formed XML. Check your syntax. You could also use the XML Tools plugin to Notepad++ to help you determine where the syntax error is precisely.

Moreover, this error "Prefix 'a' is not mapped to a namespace" might mean that you are using a tag: <a:something>, but "a" is not properly declared as a namespace, for instance like: xmlns:a="something.sap.com".

Hope this helps,

Greg