W3C home > Mailing lists > Public > xmlschema-dev@w3.org > October 2003

Re: Problem with .NET - Invalid particle derivation by restriction - next problem

From: Hugh Wallis <hugh_wallis@hyperion.com>
Date: Fri, 10 Oct 2003 13:13:35 -0400
Message-ID: <077501c38f51$dba20fe0$c1941bac@hwallis2>
To: <xmlschema-dev@w3.org>
Cc: "Dare Obasanjo" <dareo@microsoft.com>, "Rob Blake" <robblake@microsoft.com>
Thanks Henry - this is a real problem but "sticking to the letter of the
law" means we have to find some way to fix it. We can still change the
schemas I suppose but short of having no content model at all I'm not sure
what to do there.

Anyway, let's suppose we get over that and remove all references to Salary
from this set of files. Now I get the substitution group error
""'http://..../ComplexConcept:Name' cannot be a member of substitution group
with head element 'http://www.xbrl.org/2003/instance:item'"

Can anyone shed any light on this one? Again .NET is the only validator that
objects in this way. Is this what you were referring to at
http://lists.w3.org/Archives/Public/www-xml-schema-comments/2003JanMar/0057.html

Modified files attached

Cheers

Hugh
----- Original Message ----- 
To: "Hugh Wallis" <hugh_wallis@hyperion.com>
Cc: <xmlschema-dev@w3.org>; "Dare Obasanjo" <dareo@microsoft.com>; "Rob
Blake" <robblake@microsoft.com>
Sent: Friday, 10 October, 2003 12:38 PM
Subject: Re: Problem with .NET - Invalid particle derivation by restriction



That restriction is not allowed by the REC, so .NET is not wrong to
throw it out.  This is a bug in the REC in most people's opinion,
including mine.  Priscilla's workaround doesn't help, unfortunately.

This will be fixed in 1.1, but probably not before.

I'm not aware of a good workaround, unfortunately.

[XSV doesn't enforce this, because it already implements the expected 1.1
rules, sorry about that]

ht
-- 
  Henry S. Thompson, HCRC Language Technology Group, University of Edinburgh
                      Half-time member of W3C Team
     2 Buccleuch Place, Edinburgh EH8 9LW, SCOTLAND -- (44) 131 650-4440
    Fax: (44) 131 650-4587, e-mail: ht@cogsci.ed.ac.uk
     URL: http://www.ltg.ed.ac.uk/~ht/
 [mail really from me _always_ has this .sig -- mail without it is forged
spam]



************************************************************************

If you have received this e-mail in error, please delete it and notify the sender as soon as possible. The contents of this e-mail may be confidential and the unauthorized use, copying, or dissemination of it and any attachments to it, is prohibited. 

Internet communications are not secure and Hyperion does not, therefore, accept legal responsibility for the contents of this message nor for any damage caused by viruses.  The views expressed here do not necessarily represent those of Hyperion.

For more information about Hyperion, please visit our Web site at www.hyperion.com

Received on Friday, 10 October 2003 13:13:54 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 00:14:40 GMT