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

 


Help: OASIS Mailing Lists Help | MarkMail Help

ubl message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: empty elements


The UBL 2 Specification disallows empty elements (the old IND5 and IND6 rule, now moved to UBL Spec).

Unlike the nillable attribute, this rule is not enforced by the XML schemas, at least not for string based data types. Shouldn't it be enforced?

I can see various options:
- a minLength facet (on UDT, or CBC?)
- and perhaps a pattern excluding blank strings

Or embedding it as a business rule, using Schematron.

Any views on this topic? Or have I overlooked something?

Regards
Juerg


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]