Re: [xsl] Is an XPath processor responsible for catching misspelled tag names when there is an associated Schema?

Subject: Re: [xsl] Is an XPath processor responsible for catching misspelled tag names when there is an associated Schema?
From: Florent Georges <lists@xxxxxxxxxxxx>
Date: Thu, 21 Feb 2008 15:54:03 +0100 (CET)
Colin Adams wrote:

  Hi

> As far as an XSLT processor is concerned, there is no such
> thing as a mis-spelt element in an XPath. If the XPath is
> syntatically correct, then that is fine.

  But because an SA processor has this knowledge (it knows the schema),
it could give very interesting warnings about non-sense XPaths.  I mean
XPaths that could never match anything given that schema.

  Of course that would not mean that's an error, but an option to emit
warnings or even treat them as errors could be very interesting IMHO.

  Regards,

--drkm






















      _____________________________________________________________________________ 
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr

Current Thread