[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: If prefix is exactly 'xml'
In article <OF905969C5.A51CA293-ON85256CCD.0069D36E@t...> you write: >" The prefix xml is by definition bound to the namespace name >http://www.w3.org/XML/1998/namespace. It may, but need not, be declared, >and must not be bound to any other namespace name. No other prefix may be >bound to this namespace name. " >Does this mean that if the user does use the 'xml' prefix, should the >processor reject all local parts other than 'lang' and 'space'? (ie. >should <A xml:root = " ... " /> be a fatal error?) No. It's not about what xml:whatever attributes you can use. It's about declaring the prefix "xml" and the namespace http://www.w3.org/XML/1998/namespace. It means you can't use "xml" as a prefix referring to your namespace, like this: <foo xmlns:xml="http://example.org/my/namespace"> and that you can't use some other prefix to refer to the xml namespace, like this: <foo xmlns:yml="http://www.w3.org/XML/1998/namespace"> -- Richard
|
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
|