Re: Homework

On Monday, May 25, 2009, 2:00:22 PM, Cameron wrote:

CM> Hello WG.

CM> Please find your assigned homework here:

CM>  
CM> http://www.w3.org/Graphics/SVG/WG/wiki/Errata_in_SVG_1.1_Second_Edition

Thanks, I have done mine and updated the wiki accordingly.

CM> As mentioned in the telcon, beware not to just blindly remove text and
CM> use the replacement text.  You’ll need to perform a mental diff to make
CM> sure you’re not overwriting any other changes in that spot.

Yup. In particular the published errata have a longer winded markup around attribute values etc.

CM> If you’re editing the IDL or the descriptions of IDL members, just edit
CM> master/svg.idl.

Two of mine required editing svg.idl. I hope that I didn't break it. I don't have a way to validate my changes.

CM> If the erratum calls for editing the DTD fragment in a chapter, remember
CM> that they have disappeared now,

The fragment in the extend.html chapter is still there, by the way. Which may be fine as its being used specifically to comment on a feature of the DTD. Most of the other fragments were there to document the content model and allowed attributes of an element, which is now done in a better way.

CM> If the erratum calls for editing an example, check in the chapter source
CM> whether the example is included via an <edit:example> element.  Most
CM> are, but some (such as ones with multiple renderings in the chapter) are
CM> not.  If the example source is included directly in the chapter, you’ll
CM> need to edit it there and in the images/*/whatever.svg file.

(My example was inline but did not have a rendering, as it doesn't do anything. I checked that a stand-alone copy of the example was indeed DTD valid).


CM> Run “make” in master/ to build the spec.  Dependencies beyond the fact
CM> that publish/blah.html is built from master/blah.html aren’t noticed, so
CM> if you edit other files (such as definitions.xml, svg.idl or examples
CM> and images), you’ll need to help it along a bit.  touch the chapter in
CM> publish/ you want to rebuild, or just do a make clean && make to rebuilt
CM> the lot.

I failed there, in cygwin.

Chris@brigindona /cygdrive/d/WWW/dev/SVG/profiles/1.1F2/master
$ make
java -classpath ../../../tools/idlparser/idlparser.jar au.id.mcc.idlparser.IDLTo
XML svg.idl >svg.idlx
Exception in thread "main" java.lang.NoClassDefFoundError: au/id/mcc/idlparser/I
DLToXML
Caused by: java.lang.ClassNotFoundException: au.id.mcc.idlparser.IDLToXML
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Error, removing svg.idlx.
make: *** [all] Error 1

Yes, I had cvs updated the tools directory.
I will reboot into Linux and see if I win.



-- 
 Chris Lilley                    mailto:chris@w3.org
 Technical Director, Interaction Domain
 W3C Graphics Activity Lead
 Co-Chair, W3C Hypertext CG

Received on Thursday, 28 May 2009 16:06:03 UTC