SYMPTOMS
The current version of MSXML cannot validate SVG 1.1 documents without some adjustments.
Typical error messages are:
- 0xC00CE00A. Parameter entity must be defined before it is used.
- 0xC00CE01D. Reference to undeclared namespace prefix: 'xlink'.
- 0xC00CE01E. Use of default namespace declaration attribute in DTD not supported.
STEPS TO REPRODUCE BEHAVIOR
1 - Start XMLBlueprint.
2 - Paste the following code into a new text document, and save the file as book.xml:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg>
</svg>
4 - Open file book.xml and validate by clicking XML > Validate. An error message will appear in the Output Window.
SOLUTION
To avoid these errors, make the following changes in file book.xml:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [
<!ENTITY % svg-postfw-redecl.mod "">
<!ENTITY % svg-prefw-redecl.mod "">
]>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
</svg>







