Re: Comments on Part 0: Primer

"Curt Arnold" <carnold@houston.rr.com> writes:

> 3.4 Undeclared target namespaces
> 
> I have a problem with this.  If you are going to the point of defining a
> schema, these elements and attributes are in a conceptual namespace whether
> or not you give it a name.  The way targetNamespace is defined, I cannot
> write one schema that could be used to validate a XML 1.0 sans namespace
> document and also used in a to validate a document with namespace support.

That's precisely what you _can_ do.  Write the schema with no
targetNS, it can be used as is for no-namespace documents, and
included into schemas _with_ a targetNS and thereby appropriated for
use with that target.

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 Wednesday, 3 May 2000 04:29:53 UTC