Subject: RE: Implementing " and ' in literals From: Matt Sergeant <matt@xxxxxxxxxxxx> Date: Tue, 25 Apr 2000 12:07:04 +0100 (BST) |
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
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: Implementing " and ' in literal, Kay Michael | Thread | RE: Implementing " and ' in literal, Kay Michael |
Re: Implementing " and ' in literal, Matt Sergeant | Date | How to stream HTML tags included in, Marcel Ruff |
Month |