W3C home > Mailing lists > Public > xmlschema-dev@w3.org > April 2007

xs:redefine and interoperability problems

From: Jirka Kosek <jirka@kosek.cz>
Date: Thu, 05 Apr 2007 00:27:41 +0200
Message-ID: <4614265D.8000404@kosek.cz>
To: xmlschema-dev@w3.org

I'm not sure whether this is the right forum for my question, but here
it goes, please forward me somewhere else if this is offtopic.

Suppose the following schema:

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"

  <xs:redefine schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd">

    <xs:group name="tr.content">
        <xs:choice maxOccurs="unbounded">
          <!-- Remove th: <xs:element ref="th"/> -->
          <xs:element ref="td"/>



Xerces-J and .NET validators are complaining about circular group

XSV and libxml are happy with such schema.

Saxon-SA, MSXML 4.0 and Xerces-J complain about tr.content group not
being defined in xs:redefined schema (it is in fact defined in schema
which is included into the redefined schema).

As a dedicated RELAX NG user I could smile under my beard ;-)
But anyway, I thought that WXS interoperability is better in 2007.

Is my schema correct? If no, why? If yes, will be underspecified
behaviour (which is probably cause of incompatibilities between
implementations) improved in WXS 1.1?



  Jirka Kosek      e-mail: jirka@kosek.cz      http://xmlguru.cz
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
 OASIS DocBook TC member, W3C Invited Expert, ISO/JTC1/SC34 member
 Want to speak at XML Prague 2007 => http://xmlprague.cz/cfp.html

Received on Wednesday, 4 April 2007 22:27:35 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:56:12 UTC