Home. 
.

transparent

transparent

transparent

Altova Mailing List Archives


Re: [xsl] XSLT 1.0 support in browsers

From: Wendell Piez <wapiez@---------------->
To:
Date: 5/2/2007 3:18:00 PM
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
======================================================================


transparent
Print
Mail
Like It
Disclaimer
.

These Archives are provided for informational purposes only and have been generated directly from the Altova mailing list archive system and are comprised of the lists set forth on www.altova.com/list/index.html. Therefore, Altova does not warrant or guarantee the accuracy, reliability, completeness, usefulness, non-infringement of intellectual property rights, or quality of any content on the Altova Mailing List Archive(s), regardless of who originates that content. You expressly understand and agree that you bear all risks associated with using or relying on that content. Altova will not be liable or responsible in any way for any content posted including, but not limited to, any errors or omissions in content, or for any losses or damage of any kind incurred as a result of the use of or reliance on any content. This disclaimer and limitation on liability is in addition to the disclaimers and limitations contained in the Website Terms of Use and elsewhere on the site.

.
.

transparent

transparent