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
Conferences Close Tree View
+ Stylus Studio Feature Requests (1192)
+ Stylus Studio Technical Forum (14621)
+ Website Feedback (249)
- XSLT Help and Discussion (7625)
-> + Use of before and after string (3) Sticky Topic
-> - How do I substitute element ty... (1)
-> + How does one add working days ... (4)
-> - Help, I have existing XLT and... (1)
-> + Need help on XSLT issue - (2)
-> + EDI to XML Conversion (7)
-> - XML To JSON Conversion using X... (1)
-> + Formatting Paragraphs to same ... (2)
-> - Grouping of records (1)
-> + Problems with xsd 1.1 (4)
-> + XML to HL7 mapping (3)
-> + XSLT 3 and Iterate (2)
-> + XSL-FO to PDF preview (3)
-> + java.lang.RuntimeException: Er... (2)
-> + Create Acroforms with Stylus X... (2)
-> + How to change XSLT parameter s... (3)
-> + how to change format of the da... (2)
-> + Search "Next 8 Results " doesn... (2)
-> - Support for Git (1)
-> + newbee (8)
-- [1-20] [21-40] [41-60] Next
+ XQuery Help and Discussion (2017)
+ Stylus Studio FAQs (159)
+ Stylus Studio Code Samples & Utilities (364)
+ Stylus Studio Announcements (113)
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

   
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.