Skip to Content.
Sympa Menu

perfsonar-dev - Re: [pS-dev] Java Validator

Subject: perfsonar development work

List archive

Re: [pS-dev] Java Validator


Chronological Thread 
  • From: Jochen Reinwand <>
  • To: Nicolas Simar <>
  • Cc: Verena Venus <>, Michael Michalis <>, "" <>, Loukik Kudarimoti <>
  • Subject: Re: [pS-dev] Java Validator
  • Date: Wed, 19 Sep 2007 09:52:57 +0200
  • Organization: DFN Verein

Hi Nicolas, all,

Michalis is talking about integration of the validation into the services
directly.
I haven't tested it so far, but our perlSONAR uses LibXML that should be able
to do validation against RelaxNG as well.

Some more good news: Michalis was also able to enable validation against
RelaxNG in soapUI using Groove scripting and the same Java modules he
suggested for inclusion in the services! That means we can now directly use
RelaxNG for functional testing. I will most likely do some tests on our new
BWCTL schemas today, but I'm a little bit busy at the moment. MDM and some
other issues...

greetings,
Jochen

On Wednesday 19 September 2007 09:29, Nicolas Simar wrote:
> Hi Verena,
>
> Isn't it something you were referring last week: a tool for validating
> the schema - starting from the RNC)? (unfortunately, it is only for java).
>
> Cheers,
> Nicolas
>
> Michael Michalis wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> >
> > Hi all,
> >
> > In our functional testing quest, we have stumbled upon on what I
> > believe is a useful tool that will increase the quality of our
> > products(services, and clients). I don't know if any one uses schema
> > validation in their services or clients but I think it would be very
> > handy. Check out this link
> > http://weblogs.java.net/blog/kohsuke/archive/2006/02/validate_xml_us.html
> > .
> >
> > You can download a full example including all needed packages here
> > http://weblogs.java.net/blog/kohsuke/archive/20060210/rng-validation.zip/
> >rng-validation.zip
> >
> > . Its pretty straight forward, the method just throws an exception if
> > the xml document is not according to schema.
> >
> >
> > PS. This is for Java services only
> >
> >
> >
> > Best Regards,
> >
> >
> > Michalis Michael
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.7 (MingW32)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> >
> > iD8DBQFG8LL3oEWq51/Q/40RAjIbAJ9b9vaxo4M9NOHLjiCDTFd1jNRuoACfVCDO
> > 4wX7aCazT4cGA1EcymeisDo=
> > =qI4U
> > -----END PGP SIGNATURE-----

--
Jochen Reinwand, DFN-Labor
Friedrich-Alexander-Universität Erlangen-Nürnberg
Regionales RechenZentrum Erlangen (RRZE)
Martensstraße 1, 91058 Erlangen, Germany
Tel. +49 9131 85-28689, -28800, Fax +49 9131 302941

www.win-labor.dfn.de



Archive powered by MHonArc 2.6.16.

Top of Page