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: <5.1.1.6.0.20040527044238.02adfc98@pop.verizonemail.net>
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.
Keith
Received on Saturday, 29 May 2004 13:10:48 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:44 GMT