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

Re: XSLT 1.0 support in browsers

Subject: Re: XSLT 1.0 support in browsers
From: Wendell Piez <wapiez@xxxxxxxxxxxxxxxx>
Date: Wed, 02 May 2007 10:55:52 -0400
Re:  XSLT 1.0 support in browsers
At 05:21 PM 5/1/2007, Julian wrote:
there's always
<!DOCTYPE foo SYSTEM "whatever" [
<!ATTLIST foo xml:space #IMPLIED>
]>
<foo xml:space="preserve">
....
Not that the other browsers (apart frm IE) fetch the DTD anyway.

Understood. But that defeats the idea to have a single master document that you can maintain and serve directly...

Indeed, but this is a problem that goes beyond how an attribute gets set.


<!DOCTYPE foo SYSTEM "whatever" [
<!ATTLIST foo xml:space #FIXED "preserve" >
]>
<foo>

... should also work (at least in theory).

In general, multiple declarations for the same attribute are allowed in DTDs, and the rule is "first declaration wins". So a declaration of xml:space in a document's internal subset should override (when it does not simply supplement) a declaration in an external DTD. (See http://www.w3.org/TR/REC-xml/#attdecls.)

This means that formally, there should never be a conflict, although no warrant can be made either for (a) processing that relies on other declarations or the lack thereof, and (b) parsers that are less than conformant in their behavior.

What's the problem in the case of the RFC2629 DTD? How is this problem manifested in the browser?

Cheers,
Wendell


====================================================================== Wendell Piez mailto:wapiez@xxxxxxxxxxxxxxxx Mulberry Technologies, Inc. http://www.mulberrytech.com 17 West Jefferson Street Direct Phone: 301/315-9635 Suite 207 Phone: 301/315-9631 Rockville, MD 20850 Fax: 301/315-8285 ---------------------------------------------------------------------- Mulberry Technologies: A Consultancy Specializing in SGML and XML ======================================================================

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-2007 All Rights Reserved.