RE: Entities (was [libxml++] libxml++ future)



> From: Cumming Murray (Comneon) 
> I have changed the default to set_substitute_entities(true). 
> I'm not sure whether this is
> a) the best thing to do, but it seems the most useful
> b) in violation of any specifications.

The explanation here:
http://www.xmlsoft.org/entities.html
Makes the point that this would cause the entity references to be lost when
loading and saving a document, so I will set the default to false and try to
provide
- EntityReference::get_resolved_text()
- Node::get_content(bool resolve_references = false);

Murray Cumming
www.murrayc.com
murrayc usa net




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