Re: [widgets] Trimming attribute values, a bad idea?

On Dec 3, 2008, at 10:38, Jere Kapyaho wrote:

> Based on that, it might be better to just *not* do it, but then you  
> wouldn't be XML compliant.

It's perfectly XML compliant to be DTDless, to let the XML processor  
do its thing with the datatype defaulted to CDATA and not to perform  
any trimming.

> Note that in XML this is specified in terms of DTD datatypes, but  
> the config document is described in RELAX NG.

So as far as the XML processor is concerned, all the attributes are  
CDATA. RELAX NG does not feed back to AVNormalize.

-- 
Henri Sivonen
hsivonen@iki.fi
http://hsivonen.iki.fi/

Received on Wednesday, 3 December 2008 08:51:26 UTC