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

RE: element attributes with non-schema namespace

From: D Gross <justdave@onebox.com>
Date: Wed, 22 Aug 2001 11:22:31 -0400 (EDT)
To: "David E. Cleary" <davec@progress.com>
CC: <xmlschema-dev@w3.org>
Message-Id: <20010822152146.KXVS7831.mta04.onebox.com@onebox.com>
I didn't mention the tools because one is in beta right now.  I got confirmation
from the company that it is a bug and they will be fixing it before it
is released.

The other is the IBM Schema Quality Checker tool from the AlphaWorks
page.  I have not contacted them yet because I wanted to make sure it
was a problem.  I see they have a new version up on 8/20, so I'll have
to give that a try.

Thanks for all the responses.

-- Dave
D Gross
justdave@onebox.com - email
(312) 777-4000 x7673 - voicemail/fax



---- "David E. Cleary" <davec@progress.com> wrote:
> > I have a question about attributes with a non-schema namespace in
> an
> > xsd:element definition.  For example, I want to add an attribute
> "my:attr"
> > in the following way:
> >
> > <?xml version="1.0" encoding="UTF-8"?>
> > <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
> > elementFormDefault="qualified"
> > xmlns:my="http://my.name.space">
> > 	<xsd:element name="test" my:attr="something"/>
> > </xsd:schema>
> >
> > Seems the CR XML Schema does not allow this, at least according to
> a
> > couple of tools that I have tried using to validate the schema:
> >
> > "This file is not valid: Unexpected attribute 'my:attr' in
> > element 'xsd:element'"
> 
> Yes, this is allowed and the tools you are using are incorrect. What
> tools
> are they?
> 
> Dave
> 
> 

__________________________________________________
FREE voicemail, email, and fax...all in one place.
Sign Up Now! http://www.onebox.com
Received on Wednesday, 22 August 2001 11:37:03 GMT

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