[QUANTITY] Data Model for Quantity v0.5 - Serialisation

Guy Rixon gtr at ast.cam.ac.uk
Mon May 10 09:41:00 PDT 2004


On Mon, 10 May 2004, Martin Hill wrote:

> I was not aware that you could get schemas to validate space-delimited
> values within an element; I can't find anything to say yes or no as to
> how you do it and what the limitations are.  Can you check type?
> Enumerations?  Maximum/Minimum occurances?

Use a regular expression in the schema?  If it's a Perl-like regexp (i.e.
extended regular expression syntax) then it should be able to say just about
anything.

Guy Rixon 				        gtr at ast.cam.ac.uk
Institute of Astronomy   	                Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA		Fax: +44-1223-337523



More information about the dm mailing list