lenya-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Koberg" <...@koberg.com>
Subject RE: Validate docs-new documents
Date Mon, 02 Jun 2003 14:42:09 GMT
If you want to check out the way this works with my stuff, please check out:

http://www.koberg.com/lsb/

Please feel free to use/modify (namespaces, etc) anything there that you
like. I think it would be great if XML/XSL based CMSes could come together
on this kind of thing.

Any comments/criticisms would be appreciated.

Best,
-Rob

> -----Original Message-----
> From: Robert Koberg [mailto:rob@koberg.com]
> Sent: Monday, June 02, 2003 7:34 AM
> To: 'Lenya Developers List'
> 
> Hi,
> 
> You can use the JARV Ant task for quick validation of all your content:
> 
> <taskdef name="validate" classname="org.iso_relax.ant.JARVTask"/>
> <target name="validate">
>   <validate schemaLanguage="http://www.w3.org/2001/XMLSchema"
> schema="./assets/schemas/content.xsd">
>     <fileset dir="content" includes="*.xml"/>
>   </validate>
>   <validate schemaLanguage="http://www.w3.org/2001/XMLSchema"
> schema="../../wwwuser/livestoryboard.com/lsb/schemas/2003/03/config.xsd"
> file="config.xml"/>
> </target>
> 
> http://iso-relax.sourceforge.net/JARV/antTask.html
> 
> Or Jing:
> 
> http://www.thaiopensource.com/relaxng/jing-ant.html
> 
> best,
> -Rob
> 
> > -----Original Message-----
> > From: news [mailto:news@main.gmane.org] On Behalf Of Andreas Hartmann
> > Sent: Monday, June 02, 2003 7:19 AM
> > To: lenya-dev@cocoon.apache.org
> >
> > Michael Wechner wrote:
> >
> > > sorry for that (just saw your commit messages)
> >
> > No problem :)
> >
> > > shall we add the "instructions" for validating to the documentation
> > > somewhere ... ;-)
> >
> > OK, but is there a general documentation on validating XML files?
> > It's integrated in most IDEs, I don't know what's the easiest
> > way to do it in the command line. Does xalan.jar contain a
> > command line interface?
> >
> > Andreas
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> > For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org


Mime
View raw message