OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

office message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: Relax-NG validation


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.

-- 
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]