[xml] Attribute-Value Normalization problem







  For the attached file the attribute value normalization does not happen. For the attr a1 the leading and trailing whitespaces must be removed and all sequences of whitespaces(0x20) should be replaced with a single whitespace character. However in this case normalization does not take place. This happens because the default attribute values(defined in the internal subset) are not normalized at all and are passed as it is to the StartElement callbacks. Is this expected behaviour or a bug?




Attachment: Normalize.xml
Description: Text Data

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]