forrest-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Brondsema <d...@brondsema.net>
Subject Re: Is it right for me help request
Date Sat, 01 Jan 2005 01:49:00 GMT
On Fri, 31 Dec 2004, Andy J wrote:

> HI, all. . .  I just downloaded and installed Forrest yesterday to try
> to determine if it would work in my case.  So I spent all day with it
> and was pretty happy and optimistic about the prospects.  It will be
> deployed on a SunOne java server so using the webapp-war option
> bundled up my webapp and that part went great.  I'm finally starting
> to grok the concepts and successfully put some sdocbook source in
> which transformed perfectly, very slick.
>
> I'm still trying to figure out if it will work in my case and was
> hoping someone could pipe in about two questions.
>
> 1.  I know the surest way to determine this is to try it - but I
> didn't get that far and someone might know: will Forrest validate
> against an XML Schema schema?  I have a lot invested in an existing
> schema and don't want to spend more time morphing it to RNG or DTD.
> So this is sort of a showstopper (or starter) issue.
>

We generally have forrest do minimal validation (just to make sure it can
handle the input files).  You should do editing and validation with a
seperate tool designed to do that to get the best error messages possible.

Forrest's validation stages are done via Ant, so you can modify it to
support whatever type of validation you need.  You could also add a Ant
"wrapper" script which does your own validation stages first and then
invokes the main forrest targets.  Then you wouldn't have to modify
forrest itself.

-- 
Dave Brondsema : dave@brondsema.net
http://www.brondsema.net : personal
http://www.splike.com : programming
http://csx.calvin.edu : student org

Mime
View raw message