Alex, all,
On 03/ 6/09 11:47 AM, Alex Brown wrote:
> Dear all,
>
> The ODF schema is still incorrect in its definition of ID types, as I have reported before.
The ODF schema is correct in its definition of ID types. It is only not
Relax-NG DTD compatible. But the ODF 1.2 specification does not claim
anywhere that the ODF 1.2 schema is DTD compatible. It even does not
reference the Relax-NG DTD compatibility specification. Further, the
Relax-NG specification also does not claim that all Relax-NG schemas
have to be DTD compatible. So, everything is fine.
>
> Using oXygen I find it refuses to process the ODF schema and (correctly) reports an error of conflicting ID types.
>
> James Clark wrote a blog entry recently which shows how to fix this (his first examples):
>
> http://blog.jclark.com/2009/01/relax-ng-and-xmlid.html
The first example is one that does not use xml:id, but ODF 1.2 uses
xml:id. Later on, James Clark describes the situation for that case, and
why it cannot be resolved without changing either the validation tools,
or the RNG Compatibility specification (which also means that the tools
have to be changed).
Best regards
Michael
>
> - Alex.
--
Michael Brauer, Technical Architect Software Engineering
StarOffice/OpenOffice.org
Sun Microsystems GmbH Nagelsweg 55
D-20097 Hamburg, Germany michael.brauer@sun.com
http://sun.com/staroffice +49 40 23646 500
http://blogs.sun.com/GullFOSS
Sitz der Gesellschaft: Sun Microsystems GmbH, Sonnenallee 1,
D-85551 Kirchheim-Heimstetten
Amtsgericht Muenchen: HRB 161028
Geschaeftsfuehrer: Thomas Schroeder, Wolfgang Engels, Dr. Roland Boemer
Vorsitzender des Aufsichtsrates: Martin Haering