You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2003/06/02 10:05:05 UTC
Validate docs-new documents
Dear Lenya developers,
please make sure that documents in the docs-new publication
are valid before checking them in. Otherwise, the website
can't be updated.
Thanks!
Andreas
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
RE: Validate docs-new documents
Posted by Mehmet Birgi <me...@birgi.ch>.
>
> >>>
> > 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.
> > <<
> >
> > +1 to the move to IDEs
>
> My IDE is "vi" (or actually "vim"). But nice try.
>
> I will try out Robert's ant task
>
> just one word: diversity ;-)
right. for those who don't like ides, but think that vi is too hardcore, I
recommend JEdit (www.jedit.org), almost as versatile as emacs, but nice java
interface. and does xml validation.
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.486 / Virus Database: 284 - Release Date: 29.05.2003
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
RE: Validate docs-new documents
Posted by Michael Wechner <mi...@wyona.org>.
>>>
> 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.
> <<
>
> +1 to the move to IDEs
My IDE is "vi" (or actually "vim"). But nice try.
I will try out Robert's ant task
just one word: diversity ;-)
Thanks
Michael
>
> -gregor
>
>
> ---------------------------------------------------------------------
> 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
RE: Validate docs-new documents
Posted by Robert Koberg <ro...@koberg.com>.
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
RE: Validate docs-new documents
Posted by Robert Koberg <ro...@koberg.com>.
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
RE: Validate docs-new documents
Posted by "Gregor J. Rothfuss" <gr...@wyona.com>.
>>
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.
<<
+1 to the move to IDEs
-gregor
---------------------------------------------------------------------
To unsubscribe, e-mail: lenya-dev-unsubscribe@cocoon.apache.org
For additional commands, e-mail: lenya-dev-help@cocoon.apache.org
Re: Validate docs-new documents
Posted by Andreas Hartmann <an...@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
Re: Validate docs-new documents
Posted by Michael Wechner <mi...@wyona.org>.
> Dear Lenya developers,
>
> please make sure that documents in the docs-new publication
> are valid before checking them in.
sorry for that (just saw your commit messages)
Otherwise, the website
> can't be updated.
shall we add the "instructions" for validating to the documentation
somewhere ... ;-)
Thanks
Michael
>
> Thanks!
> 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