SVG 1.1: Obsolete DTD

Having trouble installing Oxygen? Got a bug to report? Post it all here.
asaremba
Posts: 4
Joined: Fri Aug 27, 2010 5:17 pm

SVG 1.1: Obsolete DTD

Post by asaremba »

Oxygen validates an SVG 1.1 document with no explicit DOCTYPE against the DTD in frameworks/svg/dtd/svg11.dtd. But this DTD is outdated - it's the one from the original version of the standard and not the one from the 2nd edition published in August 2011 (see https://www.w3.org/TR/SVG/). By the way, Oxygen contains that newer DTD (in frameworks/dita/DITA-OT2.x/plugins/org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/svg/svg11/svg11-flat-20110816.dtd) but does not use it here. This leads to validation errors, e.g. for files exported from Adobe Illustrator.
Could you please check and fix this issue?

As a little sidenote, I tried to search for forum entries on this topic (using "SVG DTD" as search string), and was rewarded with the wonderful response: "You must specify at least one word to search for. Each word must consist of at least 4 characters..." That's a truly great idea; could you please convince the W3C to use at least 4 characters in all their acronyms?
Radu
Posts: 9451
Joined: Fri Jul 09, 2004 5:18 pm

Re: SVG 1.1: Obsolete DTD

Post by Radu »

Hi,

Thanks for the feedback.
So:
But this DTD is outdated - it's the one from the original version of the standard and not the one from the 2nd edition published in August 2011 (see https://www.w3.org/TR/SVG/).
I re-downloaded the DTDs from:

https://www.w3.org/Graphics/SVG/1.1/DTD/

and they are identical to what we use.
There are two extra DTDs "svg11-flat.dtd" and "svg11-basic-flat.dtd" but they should be equivalent to the structured ones.
By default Oxygen uses the "OXYGEN_INSTALL_DIR\frameworks\svg\dtd\svg11.dtd" DTD for validation.
By the way, Oxygen contains that newer DTD (in frameworks/dita/DITA-OT2.x/plugins/org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/svg/svg11/svg11-flat-20110816.dtd) but does not use it here. This leads to validation errors, e.g. for files exported from Adobe Illustrator.
It should be equivalent to what we have. Could you possibly send us a sample SVG via email (support@oxygenxml.com)? Maybe it will help us more to understand the situation.
As a little sidenote, I tried to search for forum entries on this topic (using "SVG DTD" as search string), and was rewarded with the wonderful response: "You must specify at least one word to search for. Each word must consist of at least 4 characters..." That's a truly great idea; could you please convince the W3C to use at least 4 characters in all their acronyms?
I added an issue for our web admin, see if the forum framework we are using allows better configuration for the minimum search word length.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
Post Reply