forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Terrence Brannon" <metaperl.opensou...@gmail.com>
Subject Re: including javascript on a page (help needed)
Date Thu, 29 Jun 2006 18:14:05 GMT
On 6/29/06, Thorsten Scherler <thorsten.scherler@wyona.com> wrote:
>
>
> add xmlns:xi="http://www.w3.org/2001/XInclude" to the document tag
> like:
> <document xmlns:xi="http://www.w3.org/2001/XInclude">


Actually, it is still failing. Here is the document:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V2.0//EN" "
http://forrest.apache.org/dtd/document-v20.dtd">
<document xmlns:xi="http://www.w3.org/2001/XInclude">
  <header>
    <title>Magick</title>
  </header>
  <body>
    <section id="live">
      <title>Live from Chaosmagic.com</title>
      <xi:include href="/skins/chaosmagic.js"/>
    </section>
  </body>
</document>

And here are the reported build errors:
validate-xdocs:
/C:/Documents%20and%20Settings/Administrator/My%20Documents/domains/org/livingcosmos/dev/src/documentation/content/xdocs/magick.xml:3:54:
Attribute "xmlns:xi" must be declared for element type "document".
/C:/Documents%20and%20Settings/Administrator/My%20Documents/domains/org/livingcosmos/dev/src/documentation/content/xdocs/magick.xml:10:48:
Element type "xi:include" must be declared.
/C:/Documents%20and%20Settings/Administrator/My%20Documents/domains/org/livingcosmos/dev/src/documentation/content/xdocs/magick.xml:11:15:
The content of element type "section" must match
"(title,(section|p|source|note|warning|fixme|table|ol|ul|dl|figure|anchor)*)".

BUILD FAILED

==========================
Finally, I'd like to make sure that this directory tree looks fine assuming
I have made not modes to forrest.properties:
 c:\Documents and Settings\Administrator\My
Documents\domains\org\livingcosmos\dev\src\documentation:
  total 28
  drwxrwxrwx   2 Administrator 0               0 Jun 29 11:10 .
  drwxrwxrwx   2 Administrator 0               0 Jun 29 11:10 ..
  drwxrwxrwx   2 Administrator 0               0 Jun 29 10:29 classes
  drwxrwxrwx   2 Administrator 0               0 Jun 29 10:29 content
  -rw-rw-rw-   1 Administrator 0             353 Jun 29 10:29 README.txt
  drwxrwxrwx   2 Administrator 0               0 Jun 29 10:29 resources
  -rw-rw-rw-   1 Administrator 0            2606 Jun 29 10:29 sitemap.xmap
  -rw-rw-rw-   1 Administrator 0           17891 Jun 29 10:29 skinconf.xml
  drwxrwxrwx   2 Administrator 0               0 Jun 29 11:10 skins
  drwxrwxrwx   2 Administrator 0               0 Jun 29 10:29 translations

  c:\Documents and Settings\Administrator\My
Documents\domains\org\livingcosmos\dev\src\documentation\skins:
  total 4
  drwxrwxrwx   2 Administrator 0               0 Jun 29 11:10 .
  drwxrwxrwx   2 Administrator 0               0 Jun 29 11:10 ..
  -rw-rw-rw-   1 Administrator 0            2178 Jun 29 11:10 chaosmagic.js

Mime
View raw message