xsl-list
[Top] [All Lists]

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

2008-02-21 07:54:38
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


--~------------------------------------------------------------------
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>
--~--