W3C home > Mailing lists > Public > xmlschema-dev@w3.org > August 2002

Re: redundant mixed="true" required?

From: Masayasu Ishikawa <mimasa@w3.org>
Date: Mon, 26 Aug 2002 20:35:54 +0900 (JST)
Message-Id: <20020826.203554.78714882.mimasa@w3.org>
To: xmlschema-dev@w3.org

Hello Eddie, Henry,

Thank you very much for your explanations.

Eddie Robertsson <erobertsson@allette.com.au> wrote:

> >MSV (20020414), Xerces-J 2.0.2 and XML Spy 4.4 reported no problem,
> >but XSV (online version, complained
> >like this:
> >
> >    Invalid per cvc-complex-type.1.2.3: text not allowed: | ccc|
> >
> I tested this with MSXML SP1 as well and it also reports this as an 
> error.

Hmm ... that's a bad news.  I need to write a schema which could
somehow work with various XML Schema processors ... actually
I was writing an XML Schema for XHTML 1.0 Strict, and encountered
this problem.  An early version is available at:


If I use 'redundant' definitions, it seems to work with XSV, Xerces-J
and XML Spy.  If you replace fixed="preserve" with default="preserve"
(for xml:space), it should also work with MSV.  I hope it's not too
bad, and any feedback for improvement is most welcome.

Masayasu Ishikawa / mimasa@w3.org
W3C - World Wide Web Consortium
Received on Monday, 26 August 2002 07:35:56 UTC

This archive was generated by hypermail 2.3.1 : Wednesday, 7 January 2015 14:55:58 UTC