[xml] Question about 'text' elements


I've read the FAQ & understand why libxml2 adds text elements for docs
containing whitespace, e.g. 


gets parsed to

  </text><tag2>, etc...

However I don't understand why


gets parsed to


Is this really correct behaviour? (I'm not an XML expert so it may well
be correct but it seems very bizarre).

Thanks to anyone who can set me straight on this,


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