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>

Hello,

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,
IsmaŽl
Received on Tuesday, 2 September 2003 03:09:39 GMT

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