xsl-list
[Top] [All Lists]

Re: [xsl] Avoiding boneheaded mistakes in XSLT?

2010-12-29 08:55:06
On Wed, 29 Dec 2010 09:45:53 -0500
"G. Ken Holman" <gkholman(_at_)CraneSoftwrights(_dot_)com> 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.




-- 

regards 

-- 
Dave Pawson
XSLT XSL-FO FAQ.
http://www.dpawson.co.uk

--~------------------------------------------------------------------
XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--