Revision control

Copy as Markdown

<?xml version="1.0" encoding="UTF-8"?>
<svg version="1.2" baseProfile="tiny" xml:id="svg-root" width="100%" height="100%"
viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"
<!--======================================================================-->
<!--= Copyright 2008 World Wide Web Consortium, (Massachusetts =-->
<!--= Institute of Technology, European Research Consortium for =-->
<!--= Informatics and Mathematics (ERCIM), Keio University). =-->
<!--= All Rights Reserved. =-->
<!--======================================================================-->
reviewer="CL" owner="VH" desc="tests required XML features, such as entities and the internal DTD subset" status="accepted"
approved="yes"
version="$Revision: 1.6 $" testname="$RCSfile: struct-frag-06-t.svg,v $">
<p>This test adds testing of some basic XML features SVG User Agents should support.</p>
<p>First, the test checks support for the default entities amp, lt, gt, apos and quot. This is what the first line shows in gray.</p>
<p>Second, the test checks support for hexadecimal and decimal character entities, as shown in the second line, again in gray</p>
<p>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.</p>
</d:OperatorScript>
</SVGTestCase>
<title xml:id="test-title">$RCSfile: struct-frag-06-t.svg,v $</title>
<defs>
<font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
<font-face-src>
<font-face-uri xlink:href="../images/SVGFreeSans.svg#ascii" />
</font-face-src>
</font-face>
</defs>
<g xml:id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
<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>
<g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
<text xml:id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
</g>
<rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000" />
<!-- comment out this watermark once the test is approved -->
<!--<g xml:id="draft-watermark">
<rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1" />
<text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
</g>-->
</svg>