MHonArc v2.5.0b2 -->
office message
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]
Subject: Re: Relax-NG validation
David,
I forgot to mention that jing seems to have some difficulties
validating ids. If you call it with "-i", everything works fine.
Michael
David Faure wrote:
> On Tuesday 04 May 2004 09:07, you wrote:
>
>>Hi all,
>>
>>as discussed yerterday, here is the link to Jing, that can be used to
>>validate XML documents against a Relax-NG schema:
>>
>>http://www.thaiopensource.com/relaxng/jing.html
>
>
> Thanks!
>
> You said you had to fix a few things in the schema, right?
>
> $ /usr/java/j2re1.4.2_04/bin/java -jar $HOME/src/jing/bin/jing.jar oo/office-schema-1.0-cd-1.rng styles.xml
>
> /k/oo/office-schema-1.0-cd-1.rng:15497:18: error: conflicting ID-types for attribute "shape-id" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0" of element "dim" from namespace "urn:oasis:names:tc:openoffice:xmlns:presentation:1.0"
> /k/oo/office-schema-1.0-cd-1.rng:8984:22: error: conflicting ID-types for attribute "shape-id" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0" of element "dim" from namespace "urn:oasis:names:tc:openoffice:xmlns:presentation:1.0"
>
> If I comment out a shape-id definition I get anothing similar one:
>
> /k/oo/office-schema-1.0-cd-1.rng:15497:18: error: conflicting ID-types for attribute "id" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0" of element "path" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
> /k/oo/office-schema-1.0-cd-1.rng:8984:22: error: conflicting ID-types for attribute "id" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0" of element "path" from namespace "urn:oasis:names:tc:openoffice:xmlns:drawing:1.0"
>
> Do you have a fixed RNG schema?
>
> Thanks for any help.
>
--
Michael Brauer Phone: +49 40 23646 500
Technical Architect Software Engineering Fax: +49 40 23646 550
StarOffice Development
Star Office Software Entwicklungs GmbH
Sachsenfeld 4
D-20097 Hamburg, Germany e-mail: michael.brauer@sun.com
[Date Prev]
| [Thread Prev]
| [Thread Next]
| [Date Next]
--
[Date Index]
| [Thread Index]
| [List Home]