[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Implementing " and ' in literals
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
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|