This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The source file is <IDS xmlns = "http://www.w3.org/XQueryTest/ididrefs" xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation = "http://www.w3.org/XQueryTest/ididrefs id.xsd"> <elementwithid-1 anId = "id1"/> <elementwithid-2 anId = "id2"/> <elementwithid-3 anId = "id3"/> so all the elements are in the default namespace http://www.w3.org/XQueryTest/ididrefs. But the results for fn-id-12 and fn-id-13 are <elementwithid-3 anId3="id3"/> and <elementwithid-4 anId4="id4"/> Both are missing a xmlns="http://www.w3.org/XQueryTest/ididrefs" namespace definition
Alberto: Thanks for pointing this out. Added missing namespace. Carmelo
Hi Carmelo, the new result files contain (in this case fn-id-13.txt, but also fn-id-12.txt is wrong) <elementwithid-4 xmlns:xs = "http://www.w3.org/2001/XMLSchema" xmlns:ids = "http://www.w3.org/XQueryTest/ididrefs" anId4="id4"/> Apart for the extra xmlns:xs definition (that doesn't do any harm) the problem is that http://www.w3.org/XQueryTest/ididrefs is bound to the prefix "ids"; so either elementwithid-4 has to be rewritten as ids:elementwithid-4 or the xmlns:ids="..." has to be changed into xmlns="..." in order to be the valid result of the query.
Alberto: This been a long one. All results should be in agreement with their corresponding namespace. Thanks, Carmelo
Unfortunately, it is not yet finished :-( fn-id-12: the attribute is anId="id3", not anId3="id3" fn-id-13: the attribute is anId="id4", not anId4="id4"
Alberto: Changed again .... This must the bug with the record on refusing to close!