Object-oriented serialization (Was Re: Some questions)

James Tauber jtauber at jtauber.com
Mon Dec 6 01:24:29 GMT 1999


> The semantic constraints I am
> talking about are one step away from these "ultimate" semantics; they
> tell you that an integer contained in a given element cannot be greater
> than 100, but they don't tell you why. These are still semantics to me

Ah. This is why I have have some difficulty understanding some of what you
are saying. To me, the constraint that an integer cannot be greater than 100
is not semantics. It's syntax.

MyInteger ::= ( '100' | digit{1,2} | '-' digit+ )

or in some more perspicuous grammar:

MyInteger = Integer x : x <= 100

James


xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list