0
|
1 |
<?xml version="1.0" standalone="no"?>
|
|
2 |
<?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
|
|
3 |
<!--
|
|
4 |
|
|
5 |
Copyright (c) 2004 World Wide Web Consortium,
|
|
6 |
(Massachusetts Institute of Technology, Institut National de
|
|
7 |
Recherche en Informatique et en Automatique, Keio University). All
|
|
8 |
Rights Reserved. This program is distributed under the W3C's Software
|
|
9 |
Intellectual Property License. This program is distributed in the
|
|
10 |
hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
11 |
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
12 |
PURPOSE.
|
|
13 |
|
|
14 |
See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
|
15 |
|
|
16 |
-->
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-3" name="domconfignamespaces2">
|
|
21 |
<metadata>
|
|
22 |
<title>domconfignamespaces2</title>
|
|
23 |
<creator>Curt Arnold</creator>
|
|
24 |
<description>Document.getParameter("namespaces") should be true regardles if the
|
|
25 |
parse that created the document was namespace aware.</description>
|
|
26 |
<date qualifier="created">2004-02-24</date>
|
|
27 |
<subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#parameter-namespaces"/>
|
|
28 |
<subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#DOMConfiguration"/>
|
|
29 |
</metadata>
|
|
30 |
<var name="doc" type="Document"/>
|
|
31 |
<var name="domConfig" type="DOMConfiguration"/>
|
|
32 |
<var name="state" type="boolean"/>
|
|
33 |
<load var="doc" href="barfoo" willBeModified="false"/>
|
|
34 |
<domConfig var="domConfig" obj="doc" interface="Document"/>
|
|
35 |
<getParameter var="state" obj="domConfig" name='"namespaces"'/>
|
|
36 |
<assertTrue actual="state" id="namespacesTrue"/>
|
|
37 |
</test>
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|