[
Lists Home |
Date Index |
Thread Index
]
Jirka Kosek <jirka@kosek.cz> writes:
> Daniel Veillard wrote:
>
> > While I have your focus, I feel a bit annoyed by letting the validator
> > accept values broken by PIs or comments in the serialization pass through
> > the WXS datatype checker.
> > Do people really expect
> > "12<!-- comment -->e-12"
> > to validate as an xs:float in practice ?
>
> It looks weird but I think that this should validate.
W3C XML Schema REC is clear that this _is_ OK -- non-character
infoitems are ignored in constructing [schema normalized value] of
element infoitems, which is the starting point for datatypes
processing.
ht
--
Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
Half-time member of W3C Team
2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
URL: http://www.ltg.ed.ac.uk/~ht/
[mail really from me _always_ has this .sig -- mail without it is forged spam]
|