[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re[2]: applying code from inside the comment

Subject: Re[2]: applying code from inside the comment
From: Alexey Nickolaenkov <nikolaenkov@xxxxxxxxxxxx>
Date: Wed, 17 Jan 2007 12:16:07 +0300
Re[2]:  applying code from inside the comment
Good morning guys,

>> Note, however, that this still doesn't ensure it'll always work. If 
>> your comments are broken, they might be really broken ... for example

DC> ah but that might not be broken, it might even be valid, just not XML,
DC> in which case all you need is a different parser. tag soup if you are
DC> sensible or for people on this list who'd obviously prefer something
DC> written in xslt than java...

We're doing this, but that is a compex task. The program never
knows where is the best place for the closing tag. So if we match the
unclosed tag and are trying to find the position for its pair, in most
cases we'll get the result we dont need: xml is valid, but broken in
a complex way. That IMO hardens debugging. So we dont need to match
all unclosed tags with its pairs but only inform developer about bug
found. Smth like

<xsl:message terminate="yes">BIG BAD BUG</xsl:message>

In processing of html document we can substitute the unclosed tag
with corresponding javascript etc.

Have you ever wrote such scripts? Maybe we can share some experience
:)

-- 
Alexey                            mailto:alexey.nikolaenkov@xxxxxxxxxxxx

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.