blob: 6ad3f6ef6d9e5dd096d2705fb2f4815a04c9ee33 [file] [log] [blame]
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN"
"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">
<!--
Copyright 1999-2003,2005 The Apache Software Foundation.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!-- ========================================================================= -->
<!-- This file is used by SelfContainedSVGOnLoadTestValidator to validate -->
<!-- handling of an unexpected 'result' attribute value in the 'testResult' -->
<!-- element. -->
<!-- -->
<!-- @author vincent.hardy@sun.com -->
<!-- @version $Id$ -->
<!-- ========================================================================= -->
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:test="http://xml.apache.org/batik/test"
width="450" height="500" viewBox="0 0 450 500"
onload="runTest(evt)">
<script type="text/ecmascript"><![CDATA[
var testNS = "http://xml.apache.org/batik/test";
function runTest(evt){
var tr = document.createElementNS(testNS, "testResult");
tr.setAttributeNS(null, "result", "invalidResultValue");
var root = document.getDocumentElement();
root.appendChild(tr);
}
]]></script>
</svg>