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

Re: XSLT, XHTML, and default attribute values [somewha

Subject: Re: XSLT, XHTML, and default attribute values [somewhat OT]
From: David Carlisle <davidc@xxxxxxxxx>
Date: Tue, 14 Sep 2004 14:38:45 +0100
xslt xhtml entity
> It's possible Mozilla implements its own custom entity resolver 
. in the eventit cannot reach a referenced DTD, 

That's a polite way of describing it:-)
It never even tries to fetch a dtd other than from its own local cache
directory if the last part of "the filename" in the system URI is the
same as the name of a file in mozillahome/res/dtd or it's public id is
one of half a dozen it knows (hardwired into the code, (variants of
xhtml and xhtml+mathml) then it uses the local copy otherwise it just
ignores the dtd and attributes don't get defaulted (this is conformant
with the xml spec) and entity refs generate an undefined entity error (this
arguably isn't conformant but the spec is a bit vague here)

> but I've never had any luck ignoring them using
> Xerces in Java without implementing a custom entity resolver.

whether or not you are supplied an easy hook, the xml spec certainly
allows such a hook, or to put it another way a non validating xml parser
that uses an entity resolver designed to return nothing for any uri is
conformant.

David
(I think we are getting more than somewhat OT]



________________________________________________________________________
This e-mail has been scanned for all viruses by Star. The
service is powered by MessageLabs. For more information on a proactive
anti-virus service working around the clock, around the globe, visit:
http://www.star.net.uk
________________________________________________________________________

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.