forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Re: XInclude Problems
Date Thu, 08 Jan 2004 00:47:35 GMT
When you "seed" a site, the tabs.xml files that it creates points to ""
unfortunately, this DTD doesn't exist at that location.  It doesn't cause Forrest any problems,
but when you open an file to edit it in JEdit, JEdit expects to the DTD reference to actually
work.  When it doesn't, the tag/attribute lookup features fail. 

This is just an inconvenience to me (and other newbies), since it makes writing the XML more

However, that's not the real problem I'm trying to solve.  I can't seem to get the xincludes
to work, and one of the threads in the mail archive indicated that it WASworking.  Does anyone
have an example of how to do this in one of the index.xml or tabs.xml files?



-----Original Message-----
From: David Crossley <>
Sent: Jan 7, 2004 6:39 PM
Subject: Re: XInclude Problems

phidias wrote:
> I'm trying to do something which on the surface appears fairly easy.
> I want to include some project-related information found on other servers
> in an index page.   I'd also like to be able to use a similar approach to
> generate the links for the the other tabs on the page, but the xinclude
> doesn't seem to work there either.  I've turned off validation for the
> project, as I saw suggested on one of last years threads, but the include
> doesn't seem to be processed.
> Does someone have a working example document that they could share?
> Here's the XML I've been using for the index.xml document.  
> BTW: the default DOCTYPE declaration doesn't resolve properly, hence the strange URL.

Please provide more information on this aspect. Why doesn't it resolve
properly? When processing documents with Forrest, the entity resolver
would handle this. If it doesn't, then we have a new problem.


> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE document PUBLIC "-//APACHE//DTD Documentation V1.2//EN" "../../../../context/resources/schema/dtd/document-v12.dtd">
> <document xmlns:xi=""> 
>   <header> 
>     <title>Welcome to the LexGene Project Site</title> 
>   </header> 
>   <body> 
>     	This site contains information about the LexGene project.  The <b>Documentation</b>
tab contains documentation for each of the
> 	LexGene releases, and the <b>Project Plan</b> tab contains project plans
for each release.
>       <xi:include href=""
>   </body>
> </document>
> Regards,
> Mark Fortner

View raw message