Re: [xml] Would you tell me how to fix this libxml2 problem? Thank you very much.

2012-09-20 Thread Tom Liu S
Hi Daniel, Thank you for you instant reply. Bind9.5.0's configure file has a limitation on libxml2 version, and it's 2.6. I uplift libxml2 to 2.8 and modified the limitation as 2.8, but it failed to install the software after comipled and packaged. It is OK when I uplift it to 2.6.32. Our

Re: [xml] Build failure on darwin

2012-09-20 Thread Andy Barnert
As has already been reported a few times, 2.9.0 won't build on any version of OS X. The problem line is always this: threads.c:918: error: expected expression before '{' token The line in question is: once_control = PTHREAD_ONCE_INIT; This happens to work on linux, but it's not legal. As

[xml] document node

2012-09-20 Thread Vojtech Fried
Hello, I have a document that looks like this: datamessage//data I would expect XPath '/data/message/ancestor-or-self::*' to return three nodes: document node (the node with type XML_DOCUMENT_NODE), 'data' node (the root node) and 'message' node. I don't get the document node though. Is it a

Re: [xml] document node

2012-09-20 Thread Bjoern Hoehrmann
* Vojtech Fried wrote: I would expect XPath '/data/message/ancestor-or-self::*' to return three nodes: document node (the node with type XML_DOCUMENT_NODE), 'data' node (the root node) and 'message' node. I don't get the document node though. The node test `*` matches only element nodes; use

Re: [xml] document node

2012-09-20 Thread Vojtech Fried
Aha, thanks! Still there is a problem with sorting a document node. It can be fixed either by prepending the following to xmlXPathCmpNodes(Ext) functions: if (node1-type == XML_DOCUMENT_NODE node2-type == XML_DOCUMENT_NODE) return(0); else if (node1-type == XML_DOCUMENT_NODE) return(1);

[xml] Documentation-installation incomplete

2012-09-20 Thread Daniel Macks
The installed documentation appears to be omitting some files that are linked from other files that are installed. In html/index.html and other files there with the same left-side navigation panes, there are lots of broken local-file href links (examples: API Menu - ChangeLog and API Indexes -