W3C home > Mailing lists > Public > xmlschema-dev@w3.org > May 2004

Occurrence constraints

From: Keith Suderman <keith@suderman.com>
Date: Thu, 27 May 2004 04:43:51 -0400
Message-Id: <>
To: xmlschema-dev@w3.org

Two quick questions.

1. Is it legal to have both minOccurs="0" and maxOccurs="0" specified for 
an element?

2. What is the best way to define SGML SDATA entities (i.e. eacute) for an 
XML document using XML Schema?  Currently I am using the DOCTYPE to specify 
an "empty" DTD that does nothing but define the entities and a schema for 
the document structure.  However, some XML parsers do not like this 
approach.  Is there a better way of going about this?

Thanks in advance.
Received on Saturday, 29 May 2004 13:10:48 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:05 UTC