[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] 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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|