1 CONSOLE WARNING: Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user's experience. For more help, check http://xhr.spec.whatwg.org/.
3 <?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="xslt-text.xsl"?><TEST>SOURCE XML: <<<&тест&>>></TEST>
5 <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
7 <xsl:output method="text" encoding="KOI8-R"/>
8 <xsl:template match="TEST">CHARACTERS IN XSLT: <<<&тест&>>>
9 <xsl:apply-templates/><xsl:text>
10 </xsl:text></xsl:template>
13 <xsl:value-of select="."/>
18 <?xml version="1.0" encoding="UTF-8"?><xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
19 <xsl:output method="html" encoding="UTF-8"/>
20 <xsl:template match="TEST">
21 <html xmlns="http://www.w3.org/1999/xhtml">
23 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
26 CHARACTERS IN XSLT: ééééééééééé <br /> <xsl:apply-templates/>
32 <xsl:value-of select="."/>
37 1.0 void importStylesheet(in DOMNode style):
39 1.1 Import two different stylesheets:
40 <html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body>
41 CHARACTERS IN XSLT: ééééééééééé <br /><br />SOURCE XML: <<<&тест&>>></body></html>
42 1.2 Import same stylesheet twice:
43 <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
44 <head><title></title></head>
46 <pre>CHARACTERS IN XSLT: <<<&тест&>>>
47 SOURCE XML: <<<&тест&>>></pre>
50 1.3 Import undefined stylesheet:
52 1.4 Import undefined stylesheet:
53 ****Failure**** (expected exception, instead got result: "undefined")
54 1.5 Don't import stylesheet:
57 2.0 DOMDocumentFragment transformToFragment(in DOMNode source, in DOMDocument output):
59 2.1 fragment with undefined source:
61 2.2 fragment with undefined output document:
63 2.3 use non-DOMDocument output parameter:
65 2.4 transform to same fragment twice:
67 2.5 transformed fragment containing only text:
69 2.6 fragment using passed parameters:
72 3.0 DOMDocument transformToDocument(in DOMNode source):
74 3.1 use non-DOMDocument output parameter:
79 4.0 void setParameter(in DOMString namespaceURI, in DOMString localName, in Value value):
81 4.1 pass setParameter same localname, different namespaces:
82 ****Failure**** (expected: "Success" actual: "Failure")
83 4.2 pass undefined namespace:
85 4.3 pass setParameter an undefined name:
87 4.4 pass undefined value to setParameter:
89 4.5 pass unsupported value to setParameter:
90 ****Failure**** (expected exception, instead got result: "undefined")
92 5.0 Value getParameter(in DOMString namespaceURI, in DOMString localName):
94 5.1 pass getParameter an undefined name:
96 5.2 pass getParameter a name which has not been set:
98 5.3 verify getParameter actually gets (and set sets):
101 6.0 void removeParameter(in DOMString namespaceURI, in DOMString localName):
103 6.1 pass removeParameter same localname, different namespaces:
104 ****Failure**** (expected: "Success" actual: "Failure")
105 6.2 verify removeParameter actually removes using undefined namespace:
107 6.3 pass removeParameter undefined name:
109 6.4 pass removeParameter a name which has not been set:
111 6.5 verify removeParameter actually removes:
114 7.0 void clearParameters():
116 7.1 verify that clearParameters does:
121 8.1 verify that parameters have been cleared:
123 8.2 verify that stylesheet has been cleared: