forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Crossley (JIRA)" <>
Subject [jira] Resolved: (FOR-1032) validation problem when using custom DTD for XInclude support
Date Thu, 07 Aug 2008 05:43:44 GMT


David Crossley resolved FOR-1032.

       Resolution: Fixed
    Fix Version/s: 0.9-dev

I added this as an optional element to the existing document-v20 DTD rather than create a
new DTD.

That makes it available for forrest-0.9-dev only. If people want use it in forrest-0.8 then
you need to copy $FORREST_HOME/main/webapp/resources/schema/dtd/document-v20.mod to the same
place in your forrest-0.8 installation.

Beware. The xml validation only happens on the top-level xml file. The fragments included
via XInclude are not validated. So now people have "enough rope". 

> validation problem when using custom DTD for XInclude support
> -------------------------------------------------------------
>                 Key: FOR-1032
>                 URL:
>             Project: Forrest
>          Issue Type: Bug
>          Components: XML grammars & validation
>    Affects Versions: 0.8
>            Reporter: Brolin Empey
>            Assignee: David Crossley
>             Fix For: 0.9-dev
>         Attachments: catalog.xcat, document-v20-jd.dtd, document-v20-xi.dtd, index-asf.xml
> I am trying to use a custom DTD to add XInclude support in XDocs source files.  My source
file, which uses my new doctype and contains an XInclude element, does not validate.
> Please see this thread for more details:
> The discussion is continued in another thread, so you have to follow my link to the continuing
> David Crossley asked me to create this issue.  At his request, I am attaching the following
> - my new DTD
> - my project XML Catalog
> - a cut-down example of my index.xml file (the page that does not validate)

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message