Lists Home |
Date Index |
> How can I define in XMLSchema that an element should provide a text
> value? When I validate the following XML with the XSD I get no error,
> because the empty string seems to be a valid string as well.
You can define a simple type derived from xs:string, with a minLength facet
set to 1.