[xml] Custom entities in attributes are lost while importing

2021-06-28 Thread Christoph M. Becker via xml
Hi all, I'm forwarding this from , because I think it is a libxml2 issue. Consider: doc1: ]> doc2: ]> Both documents are parsed, and the documentElement of doc1 is imported into doc2 (xmlDocCopyNode), and appended as child of the root element. When reading t

Re: [xml] xmlGetNodePath() returns invalid path for XML_DTD_NODE

2021-02-08 Thread Christoph M. Becker via xml
On 08.02.2021 at 17:23, Nick Wellnhofer wrote: > On 28/01/2021 14:51, Christoph M. Becker via xml wrote: >> -    if ((node == NULL) || (node->type == XML_NAMESPACE_DECL)) >> +    if ((node == NULL) || (node->type == XML_NAMESPACE_DECL) >> +    ||

[xml] xmlGetNodePath() returns invalid path for XML_DTD_NODE

2021-01-28 Thread Christoph M. Becker via xml
Hi all, I'm forwarding this from , because I think it is a libxml2 issue. The problem is that calling xmlGetNodePath() on an XML_DTD_NODE returns "/?", which is to my knowledge an invalid XPath expression. Instead, if I'm not mistaken, the function should return NULL

Re: [xml] Entering freeze for libxml2-2.9.10

2019-10-28 Thread Christoph M. Becker
Hi, On 28.10.2019 at 10:06, Daniel Veillard via xml wrote: > In the absence of feedback or changes since RC1, I am not pushing > an RC2 for libxml2-2.9.10, assume a final release for Wed or Thursday, > > in the meantime, please give it a try ! I just ran the php-src test suite for all releva

[xml] xmlTextReaderValidatePush(): undesirable debug output

2019-02-28 Thread Christoph M. Becker
ted: <https://github.com/GNOME/libxml2/blob/2c8dc7158a3b7b028454abcb6f162c4da28ed80b/xmlreader.c#L989>. The printf() should probably be wrapped in an #ifdef DEBUG_READER or such. Regards, Christoph M. Becker ___ xml mailing list, project page http:/