Page 1 of 1

SVG Validation Busted

Posted: Fri Aug 31, 2007 7:02 pm
by cefn
We are often using Mixed namespaces inside documents, and need to use SVG 1.1, so can't use the straightforward SVG template in Oxygen.

When we import SVG into a RelaxNG file

<myfile xmlns=""

...the document fails to validate, reporting the following error. However, the SVG XSD file is perfectly formed and perfectly available. Very easy to replicate anyway - just copy paste the above code into a file and try to validate it.

Without validation, we cannot get any of the benefits of using Oxygen, and may as well use a text editor.


SystemID: ... Schema.dtd
Location: 107:15
Description: schema_reference.4: Failed to read schema document '', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not <xsd:schema>.

Posted: Mon Sep 03, 2007 5:09 pm
by sorin_ristache

For the XML file that you posted the validation error is caused by a missing file: ... atypes.dtd which is needed by ... Schema.dtd which is used in The file datatypes.dtd does not exist in that location so it cannot be opened and validation fails.

If you can find the datatypes.dtd file you can copy all these files from the folder to your computer and resolve all the references to these files to the local files using an entry in an XML catalog file set in oXygen in Options -> Preferences -> XML -> XML Catalog.