Re: [xml] node() xpath and entity ref nodes

2015-02-12 Thread Daniel Veillard
On Fri, Nov 14, 2014 at 05:18:18PM +, Vojtech Fried wrote: Please do not use the Reply to function of your mail client to compose new and independent mails to the mailing list. Ok, I am sorry. I didn't realize it is a problem. I can see it now. There are no entity reference nodes in

[xml] node() xpath and entity ref nodes

2014-11-14 Thread Vojtech Fried
Hi, I have an xml like this ?xml version=1.0 encoding=UTF-8? !DOCTYPE root [ !ENTITY greeting ahoy ] root valuegreeting;/value valueToday, our greeting is greeting;/value /root And xpath count(/root/value/node()) returns 1. It ignores the two entity reference nodes, I think it

Re: [xml] node() xpath and entity ref nodes

2014-11-14 Thread Bjoern Hoehrmann
* Vojtech Fried wrote: [...] Please do not use the Reply to function of your mail client to compose new and independent mails to the mailing list. I have an xml like this ?xml version=1.0 encoding=UTF-8? !DOCTYPE root [ !ENTITY greeting ahoy ] root valuegreeting;/value valueToday,

Re: [xml] node() xpath and entity ref nodes

2014-11-14 Thread Vojtech Fried
Please do not use the Reply to function of your mail client to compose new and independent mails to the mailing list. Ok, I am sorry. I didn't realize it is a problem. I can see it now. There are no entity reference nodes in the XPath data model, see e.g. http://www.w3.org/TR/xpath/#data-model.