This is the mail archive of the
xsl-list@mulberrytech.com
mailing list .
RE: Implementing " and ' in literals
- To: "'xsl-list at mulberrytech dot com'" <xsl-list at mulberrytech dot com>
- Subject: RE: Implementing " and ' in literals
- From: Matt Sergeant <matt at sergeant dot org>
- Date: Tue, 25 Apr 2000 12:07:04 +0100 (BST)
- Reply-To: xsl-list at mulberrytech dot com
On Tue, 25 Apr 2000, Kay Michael wrote:
> You're saying that a construct like "@comment()" is "total nonsense". I
> don't think it's any more "total nonsense" than (say) "number('London')" or
> "/.." is. It's well-defined: it means "find all comment nodes on the
> attribute axis", and the result is always an empty node-set. And Saxon, at
> least, implements it correctly and conformantly.
Fair point, I guess... but I'd rather a parser say "syntax error" at that
point, than let it pass, simply because while it parses OK and can be
implemented, it means nothing, and should at the very least throw a
warning. But you're right - the grammar "works".
--
<Matt/>
Fastnet Software Ltd. High Performance Web Specialists
Providing mod_perl, XML, Sybase and Oracle solutions
Email for training and consultancy availability.
http://sergeant.org http://xml.sergeant.org
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list