• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

error on server -- checks fine in Stylus Studio..

 
Ranch Hand
Posts: 61
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a page with names, some names will be links, some names will not (URL field left blank in CMS..) so in order for names w/no links to not appear as links have to do the following:

<xsl:if test="ARTICLE_EXTRA/TEMPLATE_SPEC/ADDITIONAL_INFORMATION/SPEAKER_URL_1!=''"><a class="bold" href="{ARTICLE_EXTRA/TEMPLATE_SPEC/ADDITIONAL_INFORMATION/SPEAKER_URL_1}"><xsl:value-of select="ARTICLE_EXTRA/TEMPLATE_SPEC/ADDITIONAL_INFORMATION/SPEAKER_NAME_1"/></a></xsl:if><xsl:if test="ARTICLE_EXTRA/TEMPLATE_SPEC/ADDITIONAL_INFORMATION/SPEAKER_URL_1=''"><xsl:value-of select="ARTICLE_EXTRA/TEMPLATE_SPEC/ADDITIONAL_INFORMATION/SPEAKER_NAME_1"/></xsl:if><br/><xsl:value-of select="ARTICLE_EXTRA/TEMPLATE_SPEC/ADDITIONAL_INFORMATION/SPEAKER_TITLE_1"/>

when check in Stylus Studio on my desktop it checks fine, on server get this error:

ServletException in '/event/tiles/article_display_tile.jsp': com.vnu.jcache.framework.xsl.VNUXSLException: Tranformer Error
*javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Extra illegal tokens: ''''
com.vnu.jcache.framework.xsl.VNUXSLException: Tranformer Error
*javax.xml.transform.TransformerException: javax.xml.transform.TransformerException: Extra illegal tokens: ''''

searched for those 4 apostrophes in my XSL, found no occurence..

thank you for any help/suggestions....

-v
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Is there any possibility that you have text that has been cut-pasted from a MW Word document into a form? I had a weird problem (not the same exception but similar) where text was passed by XML Spy but not by the Tomcat parser - something about various unicode translations caused it.

Ended up with characters that are illegal in Unicode.

Bill
 
if you think brussel sprouts are yummy, you should try any other food. And this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic