OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   XML Schema : not empty simple type

[ Lists Home | Date Index | Thread Index ]

Hi dear readers,

I'd like to specify the following with an xml schema :

- a simple type XXX with the constraint that its content cannot be empty.

It is possible to use a minLength facet :

<simpleType name='XXX'>
    <restriction base='string'>
        <minLength value='1'/>
    </restriction>
</simpleType>

But, does exist something like a "not null" specification for a simpleType ?

Moreover, in this case, is an element with all whitespace characters a valid element ?

Thank you for your answer.

JF

S/MIME Cryptographic Signature





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS