on 02-14-2006 9:14 AM
Hello
I am getting to grips with XI. When developing XSLT mappings I first run them on Stylus or XMLSpy, ensure they work, and then deploy them to XI.
Unfortunately they sometimes fail to work in XI, and the amount of information retrieved about the failure is very small.
I thought of a method to get more infomation in situations like this. I could write a Java method that sends messages to the XI console. This would involve seeing the javadoc API for GlobalContainer, Container and AbstractTrace. I would also need to have these objects in my classpath in order to compile the method. Then I could use the method in the XSL.
There are two small drawbacks to this plan: I cannot find the Javadoc or the Jar file holding the classes.
Perhaps one of you readers could either tell me where these things are, or suggest a better method of solving problems like this.
In either case I look forward to receiving a reply.
Thanks
Bill Logan
Your plans look very clever&brave to me... I'm on the same tune usually.
But in this case (that might sound trivial) have you had a look at Error handling in XLST?
http://help.sap.com/saphelp_nw04/helpdata/en/8a/7672f7d7e444439fd7024f806221a4/content.htm
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the suggestion,
completely forgot about the simpler <xsl:message/> command. I tried this, and it worked fine in Stylus.....but not in XI.
I think the problem s when the file is being loaded. An alert box pops up. It says
"Transformer configuration exception occurred when loading XSLT GDS_to_DP.xsl (http://sap.com/xi/GDSConsole, 155fc320-f69f-11d8-97f7-c0140a114c15, -1)"
and the trace window says this
"10:00:13 Start of test
Creating XSLT mapping GDS_to_DP
URIResolver called with href = GDS_DP_Common.xsl and base = GDS_to_DP.xsl
Source resolved. System id = GDS_DP_Common.xsl
10:00:14 End of test"
It seems obvious (from deduction) that the problem lies in GDS_DP_Common.xsl. XI will not give me any information precisely where this occurs
Thanks for you earlier answer Alessandro
User | Count |
---|---|
85 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.