[relaxng-user] <attribute/> after <text/>?

John Cowan jcowan at reutershealth.com
Wed Nov 5 17:10:21 ICT 2003


David Tolpin scripsit:

> Does <attribute name="x"><empty/></attribute> match an attribute value consisting
> only of whitespace? 

Yes.  The only time whitespace is not ignored is in data or value patterns
where the datatype preserves it, which in practice is only in string and
xsd:string.

-- 
All Gaul is divided into three parts: the part          John Cowan
that cooks with lard and goose fat, the part            www.ccil.org/~cowan
that cooks with olive oil, and the part that            www.reutershealth.com
cooks with butter. -- David Chessler                    jcowan at reutershealth.com


More information about the relaxng-user mailing list