[relaxng-user] Newbie: Normalisation and PSVI
John Cowan
cowan at mercury.ccil.org
Sun Jan 25 03:33:32 ICT 2004
Tor Helland scripsit:
> We may define element values as string or token, and more if using datatype
> libraries. And when using token for elements, the element values will be
> normalised.
There is no point, though it is valid, in using either "string" or "token"
as patterns by themselves, since neither one constrains the input.
These datatypes are useful only in connection with a specific value.
> So after parsing a document with relax ng, I would expect to get a modified
> infoset with element values normalised where the datatype is token.
RELAX NG validation returns only a valid/invalid indication.
> Now I had the impression (maybe misunderstanding something in Eric van der
> Vlist's book?) that relax ng parsing does not produce a PSVI.
Correct.
--
Winter: MIT, John Cowan
Keio, INRIA, jcowan at reutershealth.com
Issue lots of Drafts. http://www.ccil.org/~cowan
So much more to understand! http://www.reutershealth.com
Might simplicity return? (A "tanka", or extended haiku)
More information about the relaxng-user
mailing list