V
VladimirVV
Hello,
Please, help to understand the problem:
Let's create in Notepad simplest SVG 1.1 document:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version = "1.1" width="300" height="250">
<title>Example SVG code</title>
<path d="M 10,10 l0,100 100,0 0,-100z"/>
</svg>
Let's save it as *.svg and open in IE (I use 6.0) => IE will open this
document correctly => Adobe Viewer understood everything.
Let's save this document as *.xml file and open in IE => error
message:
------------------------------------------------------------------------------
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Parameter entity must be defined before it is used. Error processing
resource 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'. Line 55,
Position 2
%svg-prefw-redecl.mod;]]>
-^
-------------------------------------------------------------------------------
it seems, that problem with DTD...?
if remove DOCTYPE line => xml will be displayed, but this doesn't
allow to validate document.
but the line
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
is from http://www.w3.org/QA/2002/04/valid-dtd-list.html (have a look
at SVG 1.1 FULL).
Could anyone help me to understand how to create valid SVG 1.1
xml-document?
Best regards, Vladimir.
Please, help to understand the problem:
Let's create in Notepad simplest SVG 1.1 document:
<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version = "1.1" width="300" height="250">
<title>Example SVG code</title>
<path d="M 10,10 l0,100 100,0 0,-100z"/>
</svg>
Let's save it as *.svg and open in IE (I use 6.0) => IE will open this
document correctly => Adobe Viewer understood everything.
Let's save this document as *.xml file and open in IE => error
message:
------------------------------------------------------------------------------
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and
then click the Refresh button, or try again later.
--------------------------------------------------------------------------------
Parameter entity must be defined before it is used. Error processing
resource 'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'. Line 55,
Position 2
%svg-prefw-redecl.mod;]]>
-^
-------------------------------------------------------------------------------
it seems, that problem with DTD...?
if remove DOCTYPE line => xml will be displayed, but this doesn't
allow to validate document.
but the line
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
is from http://www.w3.org/QA/2002/04/valid-dtd-list.html (have a look
at SVG 1.1 FULL).
Could anyone help me to understand how to create valid SVG 1.1
xml-document?
Best regards, Vladimir.