XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Scott BerresSubject: Unterminated Entity Reference
Author: Scott Berres
Date: 03 Dec 2001 03:53 PM
I am trying to debug an xsl document and when I get to this snipet of code I get and Unterminated Entity Reference error from the parser.  Has anyone seen this before?

-------------------------------------------
				
					
					?address_type=
					
					&action=edit
					&address_id=
					
				 
				Edit

Postnext
Minollo I.Subject: Re: Unterminated Entity Reference
Author: Minollo I.
Date: 03 Dec 2001 05:42 PM
Scott,
we have investigated the problem you have reported; you are definitely
hitting a bug in the Stylus Studio processor, caused by the way
xsl:variable is handled internally (the error basically means that we are
trying to handle "&action=edit" as an XMl fragment, and that doesn't work
very well...

We are working on it, and we should have a fixed build for you by tomorrow
evening.
In the meanwhile, we can only suggest you to try not using xsl:variable;
you can obtain the same result using something like:

{a class="linkNormal"}
{xsl:text}href="{/xsl:text}
{xsl:value-of select="page/forms/add_edit_action"/}
{xsl:text disable-output-escaping="yes"}?address_type={/xsl:text}
{xsl:value-of select="page/content/billing_address_type"/}
{xsl:text disable-output-escaping="yes"}&action=edit{/xsl:text}
{xsl:text disable-output-escaping="yes"}&address_id={/xsl:text}
{xsl:value-of select="page/forms/billandship/billingaddrid/default_value"/}
{xsl:text} class="linkNormal"{/xsl:text}
{xsl:text disable-output-escaping="yes"}>{/xsl:text}
Edit{/a}

Sorry for the trouble; I'll let you know as soon as an updated build is
available.

Thanks,
Minollo

Postnext
Minollo I.Subject: Re: Unterminated Entity Reference
Author: Minollo I.
Date: 04 Dec 2001 05:00 PM
Scott,
just an update on this. The fix to the problem you have reported is done;
but it has been more complicated than we originally expected.
We need to run many more tests on this before making it public, as it could
break some behavior which is not covered by our usual sanity checks.

At this point we believe we should be able to release this fix by tomorrow
night (EST).

Thanks for your patience,
Minollo

Posttop
Minollo I.Subject: Re: Unterminated Entity Reference
Author: Minollo I.
Date: 05 Dec 2001 05:53 PM
Scott,
a fix for this problem (3.1 build 69e) is now available on
http://www.stylusstudio.com/update

Thanks for your patience,
Minollo

 
Topic Page 1 2 3 4 5 6 7 8 9 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

Site Map | Privacy Policy | Terms of Use | Trademarks
Stylus Scoop XML Newsletter:
W3C Member
Stylus Studio® and DataDirect XQuery ™are from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2016 All Rights Reserved.