Re: [xsl] XPath 2.0 Best Practice: wrap the first node of every path expression within schema-element?

Subject: Re: [xsl] XPath 2.0 Best Practice: wrap the first node of every path expression within schema-element?
From: David Carlisle <davidc@xxxxxxxxx>
Date: Wed, 26 Mar 2008 12:11:25 GMT
> then it is a pretty serious drawback of the Altova processor.  

That seems a fairly harsh statement given that there is absolutely nothing
in the XSLT specifcation that suggests that a warning should be raised
for this expression.

Of course a system might raise all kinds of warnings and/or coding hints
to that are not mandated by the specification, but the primary role of
an XSLT system is surely to implement the spec, not to offer general
programming help over and above what the language specifies.

It may be that you think that the expression should be in error, but in
that case your complaint should be with the XSLT Working Group who
specified it otherwise, not with system implementors who implement what
the spec says.

David


________________________________________________________________________
The Numerical Algorithms Group Ltd is a company registered in England
and Wales with company number 1249803. The registered office is:
Wilkinson House, Jordan Hill Road, Oxford OX2 8DR, United Kingdom.

This e-mail has been scanned for all viruses by Star. The service is
powered by MessageLabs. 
________________________________________________________________________

Current Thread