Schema restriction problem fixed values with optional character allowed

EDN Admin

Well-known member
Joined
Aug 7, 2010
Messages
12,794
Location
In the Machine
Hi,
I created a schema where I would like to restrict by allowing certain fixed values like "XML", "READ", "READ180" and "," (comma) character, otherwise, schema would return an invalid restriction exception/error... How is this can be done?
xs:enumeration is for actual exact value...and xs:pattern is any values following certain character format and not fixed values with optional characters like a comma...
Thanks In Advanced

View the full article
 
Back
Top