>>>>> "David" == David Crossley <[EMAIL PROTECTED]> writes:

    David> This currently picks up two minor errors (which Colin has
    David> already advised how to fix). I have not yet managed to fix

Is that because you want to let people see the horrible interim method
of reporting the errors? That was only meant as an interim method,
whilst I was setting up the initial rules. What we need is a proper
ant task for validating (the xslt method for extracting the schematron
rules is fine, but using basic-schematron to do the validation is a
hopeless hack - in particular, it will not work on windows, as it
issues ls commands(!)).

    David> This is a excellent enhancement, providing an
    David> infrastructure for other validation. Currently only doing
    David> sitemaps.

I noticed that there is some sort of Schematron Validation  component
- can we use that, or does it require Cocoon to be up and running?
In any case, It should be useful for runtime validation of re-loaded
sitemaps.

    David> Colin had a comment in build.xml patch ...  <!-- won't work
    David> with Xalan due to a bug - needs saxon7, --> <!-- but the
    David> classpath attribute won't work --> Well, everything is fine
    David> for the current 2.1 .. Is that because we now use XSLTC?

Maybe, I don't know. All I know is it wasn't working until I emptied
by java endorsed lib, and put saxon 7 in there instead.
There is also a comment in the stylesheet that says it's a bug in
xalan that causes the error, and specifically mentions saxon is ok. It
doesn't mention xsltc (at least, I don't remember it).
-- 
Colin Paul Adams
Preston Lancashire

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to