MHonArc v2.5.0b2 -->
office message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: [office] vialotaion of relaxng schema constraints
David,
we are normally using jing in order to validate documents created with
OpenOffice.org against the schema and we are also using the 'sun multi
schema validator' from
http://wwws.sun.com/software/xml/developers/multischema/
Both of these don't complain about the schema in it's current form. MSV
makes the following statement about relaxng conformance:
---
This implementation is intended to almost fully implement the spec
(Aug,11,2001 version) except the followings:
* recursive self reference check is performed after notAllowed is
expanded. Therefore MSV fails to catch some of the error. (section 4.18
of the spec.)
---
I'm quite confortable with that...
Bests
~Lars
David Faure wrote:
> On Tuesday 30 November 2004 12:36, Lars Oppermann wrote:
>
>>Hi,
>>
>>I brought this on up on xml-dev and it looks like I wasn't right after
>>all - which I consider to be a quite fortunate thing in this matter :)
>>
>>As sec. 7 of the RelaxNG spec states, restrictions apply after the
>>grammer has been simplified. Section 4.19 defines the simplification
>>applied to ref elements.
>>
>>This seems to be a bug in xmllint's simplification algorithm, and we
>>thus shouldn't change anything.
>
>
> xmllint is said to be quite unperfect with RelaxNG so I'm not too surprised.
> Isn't there a better tool for validating the schema itself? (I know that jing
> validates the schema to some degree before validating the XML, but I'm not
> sure to which degree).
>
--
Lars Oppermann <lars.oppermann@sun.com> Sun Microsystems
Software Engineer - StarOffice Sachsenfeld 4
Phone: +49 40 23646 959 D-20097 Hamburg
Fax: +49 40 23646 550 http://www.sun.com/staroffice
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]