PDA

View Full Version : java 1.4.2 and XSLT processor xsl parsing problem.




fortgreen1
Feb 4, 2004, 12:50 PM
I generate html using and java sitebuilder in terminal.

after installing, 1.4.2
my java site generator started having problems.

I am guessing that now I have different version of xslt processor installed by installing java 1.4.2?

It seems that this version does not like the attribute names that starts with numbers,, in xsl,

so I can't parse
<xsl:template name="3d_Anim">

but i can do
<xsl:template name="THREE_D_Anim">
...
am I right???

Is there other way to fix this???instead of changing numerical names???
help!


Thank you.



jeremy.king
Feb 4, 2004, 02:28 PM
Actually, seems the upgrade is now enforcing the XSLT spec.

template names (without namespace prefix) must start with a letter or '_'

see
http://www.w3.org/TR/REC-xml-names/#NT-NCName

fortgreen1
Feb 4, 2004, 02:34 PM
cool.
I didn't know that.
I am goign to rename stuff now.

thanks