Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Forrest: User

Validation fails with modified document-v12.mod

 

 

Forrest user RSS feed   Index | Next | Previous | View Threaded


fraser_bennett at sil

Aug 16, 2004, 8:31 AM

Post #1 of 1 (12 views)
Permalink
Validation fails with modified document-v12.mod

Dear all,

I'm having trouble getting Forrest 0.51 to validate Documentation V1.2
files that contain a custom element I added to document-v12.mod.

Forrest handles these files properly in webapp mode -- that is, when I
edit them directly under build/webapp/content/xdocs. But it fails to
build if one of these XML files is in the src directory. Is this a
bug, or am I missing something?

Thanks in advance,

Fraser Bennett
Research Linguist
SIL Intl. * 7500 W. Camp Wisdom Rd. * Dallas, TX 75236 USA
www.sil.org

***

The gory details:

Snippet of resources/schema/dtd/document-v12.mod (adds an element
"audio-player"):
> <!ENTITY % local.inline "|audio-player">
> <!-- added -->
> <!ENTITY % link-content.mix "%text;|%markup;|%special-inline;
> %local.inline;">
>
> <!-- no change -->
> <!ENTITY % content.mix "%link-content.mix;|%links;">
> <!-- no change -->
> <!ELEMENT audio-player (%content.mix;)* >
> <!-- added -->
> <!ATTLIST audio-player %common.att; %link.att; >
> <!-- added -->

Snippet of error complaints from running "forrest webapp":
> .../forrest-project/src/documentation/content/xdocs/data/main-
> wordlist.xml:673:78: Element type "audio-player" must be declared.
> .../forrest-project/src/documentation/content/xdocs/data/main-
> wordlist.xml:676:26: The content of element type "td" must match
> "(strong|em|code|sub|sup|br|img|icon|acronym|link|jump|fork|p|source|no
> te|warning|fixme|table|ol|ul|dl|figure|anchor)".

Results of running "forrest overrides":
> Overridden, modified :
> forrest.xmap;resources/schema/CatalogManager.properties;resources/
> schema/dtd/document-v12.mod;resources.xmap;sitemap.xmap;skins/forrest-
> site/css/page.css;skins/forrest-site/xslt/html/document2html.xsl

Details of my kit: Mac OS X 10.3, JVM 1.4.2, Tomcat 5.0.24, Forrest
0.51/Cocoon 2.1.2.

Forrest user RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.