OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 Copyright © 2001-2004 World Wide Web Consortium, | 3 Copyright © 2001-2004 World Wide Web Consortium, |
4 (Massachusetts Institute of Technology, European Research Consortium | 4 (Massachusetts Institute of Technology, European Research Consortium |
5 for Informatics and Mathematics, Keio University). All | 5 for Informatics and Mathematics, Keio University). All |
6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the | 6 Rights Reserved. This work is distributed under the W3C® Software License [1] i
n the |
7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even | 7 hope that it will be useful, but WITHOUT ANY WARRANTY; without even |
8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | 8 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
9 | 9 |
10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 | 10 [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231 |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 if(checkInitialization(builder, "attrisid06") != null) return; | 86 if(checkInitialization(builder, "attrisid06") != null) return; |
87 var doc; | 87 var doc; |
88 var attr; | 88 var attr; |
89 var id = false; | 89 var id = false; |
90 | 90 |
91 var docRef = null; | 91 var docRef = null; |
92 if (typeof(this.doc) != 'undefined') { | 92 if (typeof(this.doc) != 'undefined') { |
93 docRef = this.doc; | 93 docRef = this.doc; |
94 } | 94 } |
95 doc = load(docRef, "doc", "hc_staff"); | 95 doc = load(docRef, "doc", "hc_staff"); |
96 attr = doc.createAttributeNS("http://www.w3.org/XML/1998/namespace","xml:l
ang"); | 96 attr = doc.createAttribute("xml:lang"); |
97 id = attr.isId; | 97 id = attr.isId; |
98 | 98 |
99 assertFalse("AttrIsIDFalse06",id); | 99 assertFalse("AttrIsIDFalse06",id); |
100 | 100 |
101 } | 101 } |
102 | 102 |
103 | 103 |
104 | 104 |
105 | 105 |
106 function runTest() { | 106 function runTest() { |
107 attrisid06(); | 107 attrisid06(); |
108 } | 108 } |
OLD | NEW |