
Wait a second. What is the bug here? The namespace URI does not resolve into DTD? It doesn't have to. It must be formally correct URI but it must not necessarily correspond to any page. Besides, only the Sodipodi namespace alludes to a DTD, Inkscape's does not, and we cannot add a DTD to sodipodi.sf.net even if we wanted to.
We may eventually provide a schema for the Inkscape/Sodipodi SVG extensions, but it is not top priority now, and it may not be a DTD (there are much more flexible and powerful schema languages than DTD).
From: Jonathan Phillips <jon@...15...> To: Wendall Cada <wendallc@...248...> CC: inkscape inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] DTD Date: Tue, 02 Mar 2004 13:14:42 -0800
Cool...could you file it in Inkscape as a bug.
Jon
On Tue, 2004-03-02 at 13:06, Wendall Cada wrote:
I filed a bug with the Sodipodi project quite some time ago, it can be found here:
Date: 2003-11-29 11:29 Sender: lauris Logged In: YES user_id=19294
No, DTD does not exist, because nobody wants to maintain it (and unmaintained DTD is much useless). Also, W3C guidelines only say, that xmlns indicator has to be valid URL, not really existing document. Also, there is 'plain-svg' saving option and --export-svg command line option, that should create pure W3C variant. So I move this to feature request category from bugs.
-- Jonathan Phillips <jon@...15...>
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
_________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...

I agree about there being more powerful methods than a DTD. My point is that I disagree about the URI not needing to correspond to an actual page. If that is the stance of this development team, I think you should get some clarity from someone over at W3C, because that has never been the case in my experience, nor is it how I or any other developer I've worked with interprets the documents.
It would be completely acceptable to leave it out, but putting invalid DTD information in the files does produce errors. Just as a invalid DTD will produce errors with any XML document.
So are you going to continue to produce valid files that fail to validate because of invalid information in the files with Inkscape?
Wendall
On Tue, 2004-03-02 at 13:28, bulia byak wrote:
Wait a second. What is the bug here? The namespace URI does not resolve into DTD? It doesn't have to. It must be formally correct URI but it must not necessarily correspond to any page. Besides, only the Sodipodi namespace alludes to a DTD, Inkscape's does not, and we cannot add a DTD to sodipodi.sf.net even if we wanted to.
We may eventually provide a schema for the Inkscape/Sodipodi SVG extensions, but it is not top priority now, and it may not be a DTD (there are much more flexible and powerful schema languages than DTD).
From: Jonathan Phillips <jon@...15...> To: Wendall Cada <wendallc@...248...> CC: inkscape inkscape-devel@lists.sourceforge.net Subject: Re: [Inkscape-devel] DTD Date: Tue, 02 Mar 2004 13:14:42 -0800
Cool...could you file it in Inkscape as a bug.
Jon
On Tue, 2004-03-02 at 13:06, Wendall Cada wrote:
I filed a bug with the Sodipodi project quite some time ago, it can be found here:
Date: 2003-11-29 11:29 Sender: lauris Logged In: YES user_id=19294
No, DTD does not exist, because nobody wants to maintain it (and unmaintained DTD is much useless). Also, W3C guidelines only say, that xmlns indicator has to be valid URL, not really existing document. Also, there is 'plain-svg' saving option and --export-svg command line option, that should create pure W3C variant. So I move this to feature request category from bugs.
-- Jonathan Phillips <jon@...15...>
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel
Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=dept/bcomm&pgmarket=en-ca&RU=http%3a%2f%2f...

On Tue, 2004-03-02 at 16:34, Wendall Cada wrote:
I agree about there being more powerful methods than a DTD. My point is that I disagree about the URI not needing to correspond to an actual page.
The stance of the W3C is that namespce URIs (IRIs) need not refer to the location of a specific existing resource (consider that URNs are permitted).
See also the relevent section of the XML Namespaces FAQ:
http://www.rpbourret.com/xml/NamespacesFAQ.htm#q12_3
It would be completely acceptable to leave it out, but putting invalid DTD information in the files does produce errors. Just as a invalid DTD will produce errors with any XML document.
So are you going to continue to produce valid files that fail to validate because of invalid information in the files with Inkscape?
I do agree that we should either include a DTD ( + internal subset ) against which our documents will validate, or none at all.
-mental

On Tue, 2 Mar 2004, bulia byak wrote:
Wait a second. What is the bug here? The namespace URI does not resolve into DTD? It doesn't have to. It must be formally correct URI but it must not necessarily correspond to any page. Besides, only the Sodipodi namespace alludes to a DTD, Inkscape's does not, and we cannot add a DTD to sodipodi.sf.net even if we wanted to.
We may eventually provide a schema for the Inkscape/Sodipodi SVG extensions, but it is not top priority now, and it may not be a DTD (there are much more flexible and powerful schema languages than DTD).
I assume it's this latter thing that he's referring to. And yeah, we probably would rather go with an XML Schema over a DTD but either way like you say, it's something we should have.
Mental and I had talked about adding a DTD or XML Schema for Inkscape when setting the namespace. We decided to put it off, but IIRC we thought it'd be worth having some day. So if someone's interested in working on creating it, we should encourage it.
Bryce
participants (4)
-
Bryce Harrington
-
bulia byak
-
MenTaLguY
-
Wendall Cada