blob: 3eb511494eadbb42b0fe1eb63e636191b7910986 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!--======================================================================-->
<!--= Copyright 2000 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, Institut National de Recherche en =-->
<!--= Informatique et en Automatique, Keio University). All Rights =-->
<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
<!--======================================================================-->
<!-- NOTE: CVS will automatically update the -->
<!-- "$RCSfile: struct-frag-06-t.svg,v $" and "$Revision: 1.9 $" -->
<!-- fields in the file. -->
<!-- There is no need to update this information. -->
<!-- =====================================================================--><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" zoomAndPan="magnify" preserveAspectRatio="xMidYMid meet">
<SVGTestCase xmlns:testcase="http://www.w3.org/2000/02/svg/testsuite/description/" xmlns="http://www.w3.org/2000/02/svg/testsuite/description/" reviewer="CL" owner="VH" desc="tests required XML features, such as entities and the internal DTD subset" status="accepted" version="$Revision: 1.9 $" testname="$RCSfile: struct-frag-06-t.svg,v $">
<OperatorScript>
<Paragraph>
This test adds testing of some basic XML features SVG User Agents
should support.
</Paragraph>
<Paragraph>
First, the test checks support for the default entities amp, lt, gt, apos
and quot. This is what the first line shows in gray.
</Paragraph>
<Paragraph>
Second, the test checks support for hexadecimal and decimal character
entities, as shown in the second line, again in gray</Paragraph>
<Paragraph>
Finally, the last line shows usage of an entity defined in the
document's internal DTD subset. The same geometry (a path) is
reused twice, once filled in gray and ones stroked in gray.
</Paragraph>
</OperatorScript>
</SVGTestCase>
<title id="test-title">$RCSfile: struct-frag-06-t.svg,v $</title>
<!--======================================================================-->
<!--Content of Test Case follows... =====================-->
<!--======================================================================-->
<g id="test-body-content">
<text x="30" y="30">Default entities: amp, lt, gt, apos, quot: </text>
<text x="90" y="60" fill="gray">&amp;, &lt;, &gt;, ', "</text>
<text x="30" y="100">Character references:</text>
<text x="90" y="130" fill="gray"> A hexadecimal (&amp;#x41)= A</text>
<text x="90" y="160" fill="gray"> A decimal (&amp;#65)= A</text>
<text x="30" y="200">Entity references:</text>
<text x="105" y="228" text-anchor="middle">gray</text>
<g transform="translate(90, 235) scale(0.2)" fill="gray">
<path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>
</g>
<text x="205" y="228" text-anchor="middle">outlined</text>
<g transform="translate(190, 235) scale(0.2)" fill="none" stroke="gray" stroke-width="5">
<path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>
</g>
</g>
<text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>
<rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
</svg>