Subject: Re: [xsl] Avoiding boneheaded mistakes in XSLT? From: "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> Date: Wed, 29 Dec 2010 10:07:26 -0500 |
On Wed, 29 Dec 2010 09:45:53 -0500 "G. Ken Holman" <gkholman@xxxxxxxxxxxxxxxxxxxx> wrote:
> At 2010-12-29 14:39 +0000, Dave Pawson wrote:
> >Even without schema awareness/context, surely the processor can > >tell when an xpath expression will result in zero match? > > But it isn't helpful because the zero match is ambiguously either the > result of a typo in the stylesheet or the absence of an acceptable > item in the source. The processor is obliged to assume the latter > and so cannot assume the former.
But it is Ken. It's somewhere to look when the author wants to debug 'the pair'? Stylesheet and source XML.
<a> <b/> <c/> <d/> </a>
<a> <b/> <d/> </a>
-- Contact us for world-wide XML consulting & instructor-led training Crane Softwrights Ltd. http://www.CraneSoftwrights.com/s/ G. Ken Holman mailto:gkholman@xxxxxxxxxxxxxxxxxxxx Legal business disclaimers: http://www.CraneSoftwrights.com/legal
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
Re: [xsl] Avoiding boneheaded mista, Dave Pawson | Thread | Re: [xsl] Avoiding boneheaded mista, Dave Pawson |
Re: [xsl] Avoiding boneheaded mista, Dave Pawson | Date | Re: [xsl] Avoiding boneheaded mista, David Carlisle |
Month |