[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

Re: strange behaviour in Xalan

Subject: Re: strange behaviour in Xalan
From: Colin Paul Adams <colin@xxxxxxxxxxxxxxxxxx>
Date: 20 Oct 2001 16:24:27 +0100
Re:  strange behaviour in Xalan
>>>>> "Michael" == Michael Kay <mhkay@xxxxxxxxxxxx> writes:

    >> 2. Where does '
    >> xmlns:xml="http://www.w3.org/XML/1998/namespace" ' come from?

    Michael> That namespace declaration is implicit on every node, but
    Michael> it should never be output on serialization. (Though I'm
    Michael> not sure if the spec actually prohibits it).

I've been considering this very point recently. It appears to me that
it is perfectly acceptable (though inefficient) behaviour for
serialisation to output this, as 
1) The standard doesn't prohibit it (I've looked, though I may have
missed it), and
2) defining the xml namespace is allowed provided that the exact same
definition as seen above is used.

Therefore when the serialised XML is parsed afresh, there won't be a
problem. 
-- 
Colin Paul Adams
Preston Lancashire

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.