wood burning stoves 2.0*
The moose likes XML and Related Technologies and the fly likes This canNOT be correct, can it? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "This canNOT be correct, can it?" Watch "This canNOT be correct, can it?" New topic
Author

This canNOT be correct, can it?

Yuriy Zilbergleyt
Ranch Hand

Joined: Dec 13, 2004
Posts: 429
Hello,

While experimenting with XSLTs, I've come across something truly weird.

My stylesheet:



my JSP code:



The output:

<html xmlns:blah="WhyDoesItDoThis?">
<body>2</body>
</html>

It seems that when the namespace is not recognized as a standard one, any functions using that namespace are called on the object of the first parameters.

That is blah:indexOf('abcde', 'c') translates to "abcde".indexOf("c").

Is this some problem with the jars I'm using (like xalan.jar)?

Thank you,
Yuriy
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: This canNOT be correct, can it?
 
Similar Threads
org.xml.sax.SAXParseException
XMLHttpRequest messes up responseText
Problem with XML to CSV transformation using JDOM api
I'm getting an error about my stylesheet missing the xsl:version attribute
java.lang. IllegalState Exception: Root element not set