On Thursday, January 18, 2007, 1:33:33 PM, Tonny wrote:

TK> Hi,

TK> Recently I came across with this article
TK> http://jwatt.org/svg/authoring/#doctype-declaration which says that
TK> authoring tools should not generate DOCTYPE for the SVG file.

That article is broadly correct, with the exception of:

  Unfortunately the SVG DTDs are a source of so many issues that the
  SVG WG has decided not to write one for the upcoming SVG 1.2
  standard.

The problems with DTDs are entirely unrelated to whether they are being
used to describe SVG or some other grammar. There is in general a
transition away from DTDs and towards W3C XML Schema (for data-like,
especially database-like XML) and RelaxNG (for document-like XML)
which gives greater expressive power for constraints, better typing,
can do namespaces without hacks or magic prefixes, and so on.

So its certainly true that for SVG 1.2 and on, startng with SVG Tiny
1.2, there is a RelaxNG schema and there is no DTD. Which means a
DOCTYPE is only needed if you want to declare your own entities in the
document.

For SVG 1.1, the important thing is to have namespace declarations in
the document; and to have a version number and baseProfile.

TK> Is this the correct ways ? So as authoring tools, do we need to
TK> still to generate DOCTYPE declaration or not generate anymore ?

Its optional. Its not incorrect, and its not required.

TK> Any comment on this matter ? what is the WG comment regarding this ?



-- 
 Chris Lilley                    mailto:[EMAIL PROTECTED]
 Interaction Domain Leader
 Co-Chair, W3C SVG Working Group
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG



-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my 
membership"
---- 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/svg-developers/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/svg-developers/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 

Reply via email to