#70 namespace::xml finds nothing

v6.5.1
closed
5
2012-10-08
2002-03-18
Michael Kay
No

The path expression namespace::xml should always
return a node-set containing a single node (provided
the context node is an element).

With the tinytree model, it returns an empty node-set.

Test case added, nspc35.

The problem is present in 6.5.1, in 7.0, and probably
in earlier releases back to 6.0.

Found by MHK while testing changes for 7.1.

Discussion

  • Michael Kay

    Michael Kay - 2002-03-18

    Logged In: YES
    user_id=251681

    Source code fixed in both branches. Around line 90 of
    tinytree.NamespaceEnumeration, the test as to whether the
    nodetest matches the XML namespace node was wrong.

     
  • Michael Kay

    Michael Kay - 2002-04-12

    Logged In: YES
    user_id=251681

    Fixed in 6.5.2

     
  • Michael Kay

    Michael Kay - 2002-04-30

    Logged In: YES
    user_id=251681

    Fixed in 7.1

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks