0
|
1 |
<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="test-to-html.xsl" type="text/xml"?>
|
|
2 |
<!--
|
|
3 |
|
|
4 |
Copyright (c) 2001-2004 World Wide Web Consortium,
|
|
5 |
(Massachusetts Institute of Technology, Institut National de
|
|
6 |
Recherche en Informatique et en Automatique, Keio University). All
|
|
7 |
Rights Reserved. This program is distributed under the W3C's Software
|
|
8 |
Intellectual Property License. This program is distributed in the
|
|
9 |
hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
10 |
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
11 |
PURPOSE.
|
|
12 |
|
|
13 |
See W3C License http://www.w3.org/Consortium/Legal/ for more details.
|
|
14 |
|
|
15 |
-->
|
|
16 |
|
|
17 |
<test xmlns="http://www.w3.org/2001/DOM-Test-Suite/Level-3" name="hasFeature02">
|
|
18 |
<metadata>
|
|
19 |
<title>hasFeature02</title>
|
|
20 |
<creator>Curt Arnold</creator>
|
|
21 |
<description>
|
|
22 |
DOMImplementation.hasFeature("XML", "3.0") should return true.
|
|
23 |
</description>
|
|
24 |
<date qualifier="created">2003-05-20</date>
|
|
25 |
<subject resource="http://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core#ID-5CED94D7"/>
|
|
26 |
</metadata>
|
|
27 |
<var name="impl" type="DOMImplementation"/>
|
|
28 |
<var name="state" type="boolean"/>
|
|
29 |
<implementation var="impl"/>
|
|
30 |
<hasFeature var="state" obj="impl" feature='"cOrE"' version='"3.0"'/>
|
|
31 |
<assertTrue id="hasCore30" actual="state"/>
|
|
32 |
</test>
|