Ok, so I've added the optional ID attribute for the map element (in our document-v20.mod) And also changed the sample.xml file to utilise this.
Quick question, I guess I'll find out when the sample site loads on the zone next, but does the new dtd change I made to the .mod file get picked up by the zone or does it need to be 'published' before it picks it up ? If the dtd change needs publishing/deploying can someone do it for me please, as I still have trouble publishing our site. Thanks Gav > -----Original Message----- > From: gmcdon...@apache.org [mailto:gmcdon...@apache.org] > Sent: Thursday, 29 January 2009 7:10 PM > To: s...@forrest.apache.org > Subject: svn commit: r738804 - in /forrest/trunk/main: fresh- > site/src/documentation/content/xdocs/samples-b/sample.xml > webapp/resources/schema/dtd/document-v20.mod > > Author: gmcdonald > Date: Thu Jan 29 09:10:23 2009 > New Revision: 738804 > > URL: http://svn.apache.org/viewvc?rev=738804&view=rev > Log: > unlink fork example, add id as optional for map element - FOR-1153 > > Modified: > forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples- > b/sample.xml > forrest/trunk/main/webapp/resources/schema/dtd/document-v20.mod > > Modified: forrest/trunk/main/fresh- > site/src/documentation/content/xdocs/samples-b/sample.xml > URL: http://svn.apache.org/viewvc/forrest/trunk/main/fresh- > site/src/documentation/content/xdocs/samples- > b/sample.xml?rev=738804&r1=738803&r2=738804&view=diff > ========================================================================== > ==== > --- forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples- > b/sample.xml (original) > +++ forrest/trunk/main/fresh-site/src/documentation/content/xdocs/samples- > b/sample.xml Thu Jan 29 09:10:23 2009 > @@ -356,7 +356,7 @@ > alt="usemap demo" width="256" height="256"/> > </p> > <p> > - <map name="my-map"> > + <map name="my-map" id="my-map"> > <area shape="rect" coords="173,14,240,71" > alt="Rectangle" href="ext:forrest"/> > <area shape="circle" coords="53,172,28" > @@ -394,8 +394,10 @@ > <fork href="../index.html"> > </p> > </td> > - <td><a class="fork" href="../index.html"><a class="fork" > - href="../index.html"></a> > + <td> > + <p> > + <a class="fork" href="../index.html"> > + </p> > </td> > </tr> > <tr> > @@ -406,8 +408,7 @@ > </td> > <td> > <p> > - <a class="jump" href="../index.html"><a class="jump" > - href="../index.html"></a> > + <a class="jump" href="../index.html"> > </p> > </td> > </tr> > > Modified: forrest/trunk/main/webapp/resources/schema/dtd/document-v20.mod > URL: > http://svn.apache.org/viewvc/forrest/trunk/main/webapp/resources/schema/dt > d/document-v20.mod?rev=738804&r1=738803&r2=738804&view=diff > ========================================================================== > ==== > --- forrest/trunk/main/webapp/resources/schema/dtd/document-v20.mod > (original) > +++ forrest/trunk/main/webapp/resources/schema/dtd/document-v20.mod Thu > Jan 29 09:10:23 2009 > @@ -199,6 +199,7 @@ > <!ELEMENT map ( area+)> > <!ATTLIST map > name CDATA #IMPLIED > + %common.att; > > > <!ELEMENT area EMPTY> > <!ATTLIST area > > > > > -- > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.552 / Virus Database: 270.10.15/1921 - Release Date: > 1/28/2009 6:37 AM