GeeCON Prague 2014*
The moose likes XML and Related Technologies and the fly likes Can you see this error???? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "Can you see this error????" Watch "Can you see this error????" New topic
Author

Can you see this error????

Russ Ray
Ranch Hand

Joined: Feb 11, 2003
Posts: 52
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

Joined: Jul 08, 2003
Posts: 24187
    
  34

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.


[Jess in Action][AskingGoodQuestions]
Russ Ray
Ranch Hand

Joined: Feb 11, 2003
Posts: 52
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!!!
 
GeeCON Prague 2014
 
subject: Can you see this error????