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

errors in example of Appendix C of Schema Primer

From: Gignac Donald A CRBE <GignacDA@nswccd.navy.mil>
Date: Thu, 30 Aug 2001 08:18:32 -0400
Message-ID: <1F9F67162ADED3119F18009027A8F404C6054C@crbeex03.dt.navy.mil>
To: "'www-xml-schema-comments@w3.org'" <www-xml-schema-comments@w3.org>
Cc: "Garner F J (Joe) CRBE" <GarnerFJ@nswccd.navy.mil>, "Westbrook E L (Lori) CRBE" <WestbrookEL@nswccd.navy.mil>, "Junod L J (John) II CRBE" <JunodLJ@nswccd.navy.mil>
This is with regard to the example in appendix C "Declaring and referencing an entity in an instance document"

	<?xml version="1.0" ?>
	<!DOCTYPE PurchaseOrder [
	<!ENTITY eacute "">
	]>
	<purchaseOrder xmlns="http://www.example.com/PO1" orderDate="1999-10-20>
      	...

1. What is the name of the root element type? "PurchaseOrder" as in the DTD or "purchaseOrder" as in the instance? XML names are case-sensitive.

2. The  "orderDate" attribute value specification on the "purchaseOrder" tag is not terminated with a ".

Donald Gignac	"gignacda@nswccd.navy.mil"	1-301-227-3348
Received on Thursday, 30 August 2001 09:17:51 GMT

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