Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can you see this error????

 
Russ Ray
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everyone:
I am working through a error I have within my XSLT stylesheet. First of all, I have design/implemented/tested the XSLT from outside the program and it works. However, when I roll it into my program and accomplish the transformation on the fly, I get an error. I have attempted to depict the error, the XML, and XSLT files correctly. Can you point me in the right direction??? What would cause this???
SystemID: file:///Catalog_to_Inventory.xsl; Line#: 39; Column#: 124
javax.xml.transform.TransformerException: Unknown error in XPath
This is the Style Sheet:

This is a portion of the XML File:

Thanks in advance for reading and review my effort!!!
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24212
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The error message basically says that this is a bug in the XSLT processor, not in your stylesheet so much. When you test this from the command line, are you using the same XSLT implementation as when it's embedded? I'm betting the answer is "no". Upgrade your XSLT library, if you can, and see if that helps.
 
Russ Ray
Ranch Hand
Posts: 52
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Administrator: You can close this topic.
For the benefit of the group: The problem deals with version 2.3.10 of Zalan. When I upgraded to version 2.5.1, the problem went away.
Thanks for a place to air the issue!!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic