[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
Re: [xml-dev] [ANN] Relax NG validation tool Serene 0.6.3 released
- From: Radu Cernuta <radu.cernuta@gmail.com>
- To: David Lee <dlee@calldei.com>
- Date: Tue, 25 Sep 2012 19:13:43 +0300
2012/9/25, David Lee <dlee@calldei.com>:
> Curious does the schematron validation. Require generating intermediate xslt
> scripts?
I'm not sure I understand the question exactly. When using Serene for
validation you need to create a JAXP SchemaFactory, make Schema
objects and obtain validators. Internally, the official ISO Schematron
stylesheets are used in a chain of transformations.
More info can be found in the project documentation and wiki:
http://code.google.com/p/serene/wiki/isoSchematronSupport
> Any performance or correctness benchmarks vs other processors?
>
I assume this is about the RELAX NG implementation.
With respect to correctness, I think Serene is about as correct as
Jing and there might be some areas where it is better, e.g., for
compiling schemas, name class wild card syntax and simplification
handling, or several simultaneous restriction errors in the same
context and, for validating documents, list handling or order errors.
Some other differences would be that Serene error messages are not
influenced by things as the order of attributes in the instance
document and errors are described by referencing the concerned schema
definitions, while the Jing uses elements and attributes names when
possible and nothing in the rest of the cases.
The XSD datatypes support in Serene is done based on Xerces, so it is
as correct as that.
Info on limitations can be found in the project documentation and wiki:
http://code.google.com/p/serene/wiki/Limitations
With respect to performance, I haven't done any really scientific
tests, but in my tests Serene is still somewhat slower than Jing. Over
the entire unofficial RELAX NG test suite, which I think now can be
found somewhere on the Jing site, with a blank ErrorHandler, in my
tests the report is Serene:Jing = 1.26. Same test over the Serene test
suite, which contains a lot more ambiguities and conflicts, results in
a report Serene:Jing = 1.52. I still have work planned in this area,
things should improve some more, can't say exactly how much.
Any issue reports, comments, feature requests, etc will be appreciated.
Thank you,
Radu Cernuta
>
> Sent from my iPad (excuse the terseness)
> David A Lee
> dlee@calldei.com
>
>
> On Sep 24, 2012, at 2:40 PM, "Radu Cernuta" <radu.cernuta@gmail.com> wrote:
>
>> This is a one-time post to announce the Serene 0.6.3 release.
>>
>> The purpose of the Serene project is to create an open source
>> validation engine implementing the JAXP 1.3 Validation Framework API
>> for RELAX NG that concentrates on good messages and a clear handling
>> of ambiguity and conflicts. An implementation of the JAXP Validation
>> Framework API for ISO Schematron and support for Schematron markup
>> embedded in RELAX NG schemas have been added.
>>
>> With this release, for the ISO Schematron implementation, support for
>> XSLT 2.0 based on Saxon HE has been added and the access to SVRL
>> information has been improved. Also support for embedding Schematron
>> elements ns and let in the RELAX NG schemas has been added. Some work
>> has been done on making the RELAX NG implementation lighter and
>> faster.
>>
>> For more information, please come to
>> http://code.google.com/p/serene/
>>
>> Thank you,
>> Radu Cernuta
>>
>> _______________________________________________________________________
>>
>> XML-DEV is a publicly archived, unmoderated list hosted by OASIS
>> to support XML implementation and development. To minimize
>> spam in the archives, you must subscribe before posting.
>>
>> [Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
>> Or unsubscribe: xml-dev-unsubscribe@lists.xml.org
>> subscribe: xml-dev-subscribe@lists.xml.org
>> List archive: http://lists.xml.org/archives/xml-dev/
>> List Guidelines: http://www.oasis-open.org/maillists/guidelines.php
>>
>>
>
>
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]