[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: XML files referencing DTDs via HTTP



On Mon, Dec 01, 2003 at 01:51:31AM -0800, Tom wrote:
> That's true.  It can be any string.  The fact that it just happens to 
> look like an HTTP url and DTD is actually at that URL is not part of the 
> standard, AFAIK.

Errr, we are not getting confused??

An example is:

<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML v4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd"; [

According to <URL:http://www.w3.org/TR/REC-xml>, the FROMAT IS

doctypedecl    :: '<!DOCTYPE' S Name (S ExternalID)? S? [...]
ExternalID    ::= [...] 'PUBLIC' S PubidLiteral S SystemLiteral

WHERE:
[...] = removed for clarity
S = Whitespace
SystemLiteral = "The SystemLiteral is called the entity's system
identifier. It is a URI reference (as defined in [IETF RFC 2396],
updated by [IETF RFC 2732]), meant to be dereferenced to obtain input
for the XML processor to construct the entity's replacement text."

Perhaps you were thinking of the PubidLiteral?
-- 
Brian May <bam@debian.org>



Reply to: