Re: XPath Data Model proposal

David.Pawson@rnib.org.uk scripsit:

> Clarification please John.
> If I'm transforming a well formed instance, no schema,
> I'm going to find the output decorated with data type information;
> that wasn't there in any original DTD that may have been used
> to develop these instances?

This is tautologically true, since DTDs don't *have* any datatype
information except the trivial attribute datatypes.

> And presumably which might then fail  validation on receipt
> by another business if the document type is re-introduced?

In principle, yes, if the DTD said that an attribute is of type ID
or IDREFS or NMTOKENS or whatever and then it ended up not being the case.

> Gratuitous decoration isn't my idea of fun for those who
> don't want/need it.

Don't use xsi:nil and xsi:type attributes gratuitously, then.

-- 
Andrew Watt on Microsoft:                       John Cowan
"Never in the field of human computing          jcowan@reutershealth.com
has so much been paid by so many                http://www.ccil.org/~cowan
to so few!" (pace Winston Churchill)            http://www.reutershealth.com

Received on Friday, 6 June 2003 07:22:02 UTC