W3C home > Mailing lists > Public > xmlschema-dev@w3.org > September 2003

FW: Non empty *mixed* content model

From: Cams Ismael <Ismael.Cams@siemens.com>
Date: Tue, 2 Sep 2003 09:05:26 +0200
Message-ID: <57FD2C3A246F76438CA6FDAD8FE9F1957ABDAE@hrtades7.atea.be>
To: "'xmlschema-dev@w3.org'" <xmlschema-dev@w3.org>


I have yet another question. Is it possible to define a mixed complex type
that is not empty. What I need to define is a mixed content that can not be
empty (contains text, another element, or both).

<command><parameter id="1"/></command> -> valid

<command>test<parameter id="1"/></command> -> valid

<command>test</command> -> valid

<command/> -> not valid

Kind regards,
Received on Tuesday, 2 September 2003 03:09:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:15:13 UTC