forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stephan Schlierf <stephan.schli...@vsa.de>
Subject Re: Upgrading to document-v12.dtd/mod
Date Wed, 13 Aug 2003 07:26:12 GMT
Am Dienstag, 12. August 2003 16:51 schrieb Jason End:
> I had not changed V1.1 to V1.2. I just did, but now I
> get a new error.
> Here's the definition:
> <?xml version="1.0" encoding="iso-8859-1"?>
> <!DOCTYPE document PUBLIC "-//APACHE//DTD
> Documentation V1.2//EN"
> "document-v12.dtd">
>
> Here's the error:
> [...]
> validate-xdocs:
>
> BUILD FAILED
> file:///usr/local/www/data/beans/apache-forrest-0.4-bin/forrest.build.xml:7
>74: Could not validate document
> /usr/local/www/data/beans/mysite2/src/documentation/content/xdocs/articles/
>211.xml [...]

hm, and what's the error exactly ? Something like "The content of element ..." 
?

>
> I placed the v12 dtds here:
> /usr/local/www/data-dist/beans/apache-forrest-0.4-bin/context/resources/sch
>ema/dtd/

Usually the dtds are located in [forrest-directory]/src/resources/schema/dtd
You can change this if you like by editing the forrest.properties file in your 
project directory (I assume "mysite2"):

---snip---

##############
# layout properties

# Properties that must be set to override the default locations
#
# Parent properties must be set. This usually means uncommenting
# project.content-dir if any other property using it is uncommented

project.status=status.xml
project.content-dir=src/documentation
project.conf-dir=${project.content-dir}/conf
project.sitemap=${project.content-dir}/sitemap.xmap
project.xdocs-dir=${project.content-dir}/content/xdocs
project.stylesheets-dir=${project.content-dir}/resources/stylesheets
project.images-dir=${project.content-dir}/resources/images
project.schema-dir=${project.content-dir}/resources/schema <-- Here we are!
project.skins-dir=${project.content-dir}/skins
project.skinconf=${project.content-dir}/skinconf.xml
#project.lib-dir=${project.content-dir}/lib
#project.classes-dir=${project.content-dir}/classes

---snip---

hth
Stephan
>
> Jay
>
> --- Stephan Schlierf <stephan.schlierf@vsa.de> wrote:
> > Jason,
> >
> > how does the definition of the dtd-file look in your
> > document ?
> >
> > <!DOCTYPE document PUBLIC "-//APACHE//DTD
> > Documentation V1.2//EN"
> > "document-v12.dtd">
> >
> > should be the correct line - note the "Documentation
> > V1.2//EN" change.
> >
> > hth,
> > Stephan
> >
> > Am Dienstag, 12. August 2003 05:25 schrieb Jason
> >
> > End:
> > > Using Forrest 0.4 I placed the v12 dtds in the
> >
> > correct
> >
> > > location and changed my xml files to use
> > > document-v12.dtd (or .mod)
> > > But when I tried to build I got the following
> >
> > error:
> > > [...]
> > > validate-xdocs:
>
> /usr/local/www/data/beans/mysite2/src/documentation/content/xdocs/articles/
>
> > >211.xml:23:6: The content of element type "strong"
> >
> > must match
> >
> > > "(code)".
> > >
> > > BUILD FAILED
>
> file:///usr/local/www/data/beans/apache-forrest-0.4-bin/forrest.build.xml:7
>
> > >74:
>
> /usr/local/www/data/beans/mysite2/src/documentation/content/xdocs/articles/
>
> > >211.xml is not a valid XML document.
> > > [...]
> > >
> > > The code it chokes on is:
> > > [...]
> > > <strong>
> > > <em>
> > > My Text
> > > </em>
> > > </strong>
> > > [...]
> > >
> > > Which should be permitted in v12. Do I need to
> >
> > specify
> >
> > > the use of v12 somewhere else?
> > >
> > > thanks,
> > >
> > > Jay
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > Yahoo! SiteBuilder - Free, easy-to-use web site
> >
> > design software
> >
> > > http://sitebuilder.yahoo.com
>
> __________________________________
> Do you Yahoo!?
> Yahoo! SiteBuilder - Free, easy-to-use web site design software
> http://sitebuilder.yahoo.com


Mime
View raw message