- From: Christian Wolfgang Hujer <Christian.Hujer@itcqis.com>
- Date: Fri, 14 Sep 2001 16:48:21 +0200
- To: "keijo.kortelainen" <keijo.kortelainen@orchimedia.com>, <www-html@w3.org>, <info@opentext.com>
Hello all, I think XHTML 1.1 DTD should be changed, but this is not a bug in XHTML 1.1 DTD but in XML Parsers. Here is what I got with saxon is an error in saxon's XML Parser, AElfred: Transformation failed: java.io.FileNotFoundException: http://www.w3.org/TR/xhtml-modularization/DTD/xhtml11-model-1.mod The reason is: http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd *declares* this Entity: <!ENTITY % xhtml-model.mod PUBLIC "-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN" "xhtml11-model-1.mod" > (contains relative URI: xhtml11-model-1.mod) http://www.w3.org/TR/xhtml-modularization/DTD/xhtml-framework-1.mod *references* this Entity: <!ENTITY % xhtml-model.module "INCLUDE" > <![%xhtml-model.module;[ <!-- instantiate the Document Model module declared in the DTD driver --> %xhtml-model.mod; ]]> (changed formatting of cites for readability) From the XML Recommendation: "Unless otherwise provided by information outside the scope of this specification (e.g. a special XML element type defined by a particular DTD, or a processing instruction defined by a particular application specification), relative URIs are relative to the location of the resource within which the entity declaration occurs." Means *declaration*, not *reference*. But AElfred resolves the URI of the external parsed entity "xhtml-model.mod" at the *reference* the entity, not at the *declaration* of the entity. So this is what AElfred resolves: http://www.w3.org/TR/xhtml-modularization/DTD/xhtml11-model-1.mod And this is what XML Parsers must load: http://www.w3.org/TR/xhtml11/DTD/xhtml11-model-1.mod So AElfred, at least the version used by saxon, has a bug. Since more XML Parsers and software based on them might have this bug, and since it will take some time until these bugs are fixed, I suggest, that the HTML working group changes the URI of the drivers to be absolute URLs. I suggest changing <!ENTITY % xhtml-model.mod PUBLIC "-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN" "xhtml11-model-1.mod" > to <!ENTITY % xhtml-model.mod PUBLIC "-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11-model-1.mod" > Greetings Christian Hujer > -----Original Message----- > From: www-html-request@w3.org [mailto:www-html-request@w3.org]On Behalf > Of keijo.kortelainen > Sent: Thursday, September 13, 2001 12:42 PM > To: www-html@w3.org > Subject: Re: XHTML 1.1 DTD > > > I'm getting the same error when using either msxml, saxon, ixslt or any > other validating parser on my machine. All point out to > xhtml-framework-1.mod file line 53. Please check the status of the > dtd/mod-file in case it is corrupted. > > Yours truly > > -keijo kortelainen- > --------------- > 2K mediat > www.2kmediat.com > >
Received on Friday, 14 September 2001 10:47:49 UTC