[xml] Entity reference



libxml has compatible SAX-like interface with expat. However, 
entity reference is not automatically replaced with the entity value
under libxml. For example:

 <!DOCTYPE doc [
 <!ENTITY test "TEST">
 ]>
 <body>&test;</body>

Under libxml, the character callback returned "&test;"
while expat returned "TEST".

- Tak Sze





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