- From: Yves Savourel <ysavourel@enlaso.com>
- Date: Sat, 19 Jan 2013 07:23:54 -0700
- To: "'Multilingual Web LT-TESTS Public'" <public-multilingualweb-lt-tests@w3.org>, <renatb@logrus.ru>
Hi Renat, > terminology\xml\terminology1xmloutput.txt is incorrect due to known > defect of XPath support in MS .Net (id() function does not support xml:id) We ran into the same problem with Java. The work around we use is not perfect but it works in most cases: If we detect "id(" in the XPath expression we run (once) an extra method that select all elements with 'xml:id' and use the method Element.setIdAttributeNS() to indicates that a given attribute is the ID for the given element. After that the expression works fine. Maybe the .NET implementation of DOM has the same method. So maybe you can use a similar work around. Let us know if you find a better way. -yves
Received on Saturday, 19 January 2013 14:24:26 UTC