W3C home > Mailing lists > Public > www-xml-schema-comments@w3.org > October to December 2001

Re: problem with the "Structures" DTD in appendix G of part 1; "Struc tures"?

From: Henry S. Thompson <ht@cogsci.ed.ac.uk>
Date: 25 Oct 2001 09:35:37 +0100
To: Gignac Donald A CRBE <GignacDA@nswccd.navy.mil>
Cc: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>, "Garner F J (Joe) CRBE" <GarnerFJ@nswccd.navy.mil>, "Westbrook Evelyn L (Lori) CRBE" <WestbrookEL@nswccd.navy.mil>, Junod L J II CRBE <JunodLJ@nswccd.navy.mil>
Message-ID: <f5bn12g2k2u.fsf@cogsci.ed.ac.uk>
Sorry for late reply.

Gignac Donald A CRBE <GignacDA@nswccd.navy.mil> writes:

> Ten schema examples in part 0: "Primer" are not in conformance  with 
> the "Structures" DTD in appendix G of part 1: "Structures". They begin
> with the following "schema" tags.

You can't tell that from what's given -- there are no DOCTYPE statements.

<snip/>

> In each of these examples, the default name space is
> 
> 	xmlns="http://www.w3.org/2001/XMLSchema"
> 
> and so the "p" parameter entity specifying the prefix is defined as
> 
> 	<!ENTITY % p "">

That's not in the document - you're right _if_ we supplied a DOCTYPE
it should read

<!DOCTYPE schema SYSTEM "http://www.w3.org/2001/XMLSchema.dtd" [
<!ENTITY % p "">
<!ENTITY % s "">
]>

but there's no requirement to do so -- the DOCTYPE is not required by
the REC.

> For the above examples, the "s" parameter entities specifying the 
> suffix are defined as
> 
> 	<!ENTITY % s ":po">
> 	<!ENTITY % s ":po">
> 	<!ENTITY % s ":po">
> 	<!ENTITY % s ":po">
> 	<!ENTITY % s ":ipo">
> 	<!ENTITY % s ":ipo">
> 	<!ENTITY % s ":ipo">
> 	<!ENTITY % s ":target">
> 	<!ENTITY % s ":r">
> 	<!ENTITY % s ":c">
> 
> respectively.

No, they would all be <!ENTITY % s "">

ht
-- 

  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
          W3C Fellow 1999--2001, part-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
	    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
		     URL: http://www.ltg.ed.ac.uk/~ht/
Received on Thursday, 25 October 2001 04:34:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Sunday, 6 December 2009 18:12:57 GMT