[Home] [By Thread] [By Date] [Recent Entries]

  • From: Liam R E Quin <liam@w...>
  • To: John Cowan <cowan@m...>
  • Date: Mon, 03 Dec 2012 02:36:49 -0500

On Mon, 2012-12-03 at 01:26 -0500, John Cowan wrote:
> Liam R E Quin scripsit:
[...]
> > The XML spec also (indirectly) gives parsers license to use xml:base for
> > resolving system identifiers, for what it's worth.
> 
> I believe that's incorrect.  The scope of xml:base is at most the root
> element, and DOCTYPE declarations are outside the root element.

[[
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. 
]]

I agree that the system identifier in the doctype decl. can't reasonably
be overriden by xml:base as xml:base is specified today. But other
system identifiers can be; public/system applies to all external
entities, of course.

I think we've wandered off topic a little, if there was a topic :)

Relative namespace URIs are of course discouraged.

Liam

-- 
Liam Quin - XML Activity Lead, W3C, http://www.w3.org/People/Quin/
Pictures from old books: http://fromoldbooks.org/
Ankh: irc.sorcery.net irc.gnome.org freenode/#xml



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member