Occurrence constraints

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 UTC