Subject: Re[2]: [xsl] applying code from inside the comment From: Alexey Nickolaenkov <nikolaenkov@xxxxxxxxxxxx> Date: Wed, 17 Jan 2007 12:16:07 +0300 |
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 |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] applying code from inside, David Carlisle | Thread | RE: [xsl] Axis specifers, Michael Kay |
Re: [xsl] applying code from inside, David Carlisle | Date | [xsl] saxon xmlspy discrepancy in w, Erwin Kloeck |
Month |