W3C home > Mailing lists > Public > site-comments@w3.org > September 2012

Re: DOM 2 Specs.

From: Chris Lilley <chris@w3.org>
Date: Sat, 22 Sep 2012 19:31:26 +0200
Message-ID: <812325412.20120922193126@w3.org>
To: Ian Jacobs <ij@w3.org>
CC: "W3C(Spatial Stream)" <w3c@spatial-stream.com>, "site-comments@w3.org Comemnts" <site-comments@w3.org>, Douglas Schepers <schepers@w3.org>
On Friday, September 21, 2012, 8:48:29 PM, Ian wrote:

IJ> On 21 Sep 2012, at 11:39 AM, W3C(Spatial Stream) wrote:

>> Hi Ian,

>> In the batik javadoc it uses as an example:

>> http://www.w3.org/2003/01/dom2-javadoc/org/w3c/dom/svg.SVGRect.html

>> If you look at:

>> http://www.w3.org/2003/01/dom2-javadoc/

>> you will see no mention of org.w3c.dom.svg package?

That is because you are looking at the base W3C Document Object Model Level 2 version 1.0 specification, while SVG 1.0 depends on DOM2 and extends it to give SVG specific methods, as documented here:

http://www.w3.org/TR/SVG11/java.html

the bindings are in this zipfile, (linked from that page)

http://www.w3.org/TR/2011/REC-SVG11-20110816/java-binding.zip

Note that the individual language bindings are not normative, but the IDL is:

http://www.w3.org/TR/SVG11/idl.html

so to take your particular example:

interface SVGRect {
  attribute float x setraises(DOMException);
  attribute float y setraises(DOMException);
  attribute float width setraises(DOMException);
  attribute float height setraises(DOMException);
};



-- 
 Chris Lilley   Technical Director, Interaction Domain                 
 W3C Graphics Activity Lead, Fonts Activity Lead
 Co-Chair, W3C Hypertext CG
 Member, CSS, WebFonts, SVG Working Groups
Received on Saturday, 22 September 2012 17:31:27 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 24 October 2012 16:21:34 GMT