Home | History | Annotate | Download | only in tests

Lines Matching refs:urn

78 f = str_io("""<test xmlns:dt="urn:datatypes" dt:type="int"/>""")
86 if reader.GetAttributeNo(0) != "urn:datatypes" or \
88 reader.GetAttributeNs("type", "urn:datatypes") != "int" or \
96 f = str_io("""<root xmlns:a="urn:456">
107 if reader.LookupNamespace("a") != "urn:456":
119 f = str_io("""<testattr xmlns="urn:1" xmlns:a="urn:2" b="b" a:b="a:b"/>""")
132 if reader.Value() != "urn:1":
141 if reader.Value() != "urn:2":
171 if reader.Value() != "urn:1":
177 if reader.Value() != "urn:2":
192 if reader.MoveToAttributeNs("b", "urn:2") != 1:
193 print("Failed moveToAttribute('b', 'urn:2')")
196 print("Failed to read attribute('b', 'urn:2')")
207 if reader.Value() != "urn:1":
216 if reader.Value() != "urn:2":