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

Re: Can the schema change the namespace in the instance?

From: Robert Braddock <stormwarden@bigfoot.com>
Date: Thu, 4 Jan 2001 19:07:46 -0600
To: xmlschema-dev@w3.org
Message-ID: <20010104190745.I29280@concordant-thought.com>
> position that NS declarations are not attributes, and in any case does 

Yeah, I thought so.

> > I'm trying to use schemas without having to
> > incur too much cruft, like explicitly qualifying everything and having to
> Local element declarations can give you the effect you're seeking, see 
> the Primer [2].

Do you mean I should turn off qualification and not qualify any non-global
elements in the instance doc? I guess I misinterpreted the usefulness of
qualification. If I can only usefully use a schema with a single global
element, and this is the only way to have a normal inclusion without messing
up instance documents, are the W3C schemas going to keep this in mind? I
don't see any recommendations on this in the primer. Or does the W3C intend
for us to move to explicitly qualifying and declaring every little detail?

> See the XSV status page [3] for information about which branches are
> current for which files.

Ah, ok, I found that one parenthetical comment you are referring to. I must
have missed it when I was setting it up last week. Is there an XSV option to
produce the qualified and defaulted instance doc after validation? (what are
the -k -w -r arguments and what is the "profile" it can output anyway?)



> [2] http://www.w3.org/TR/xmlschema-0/#NS
> [3] http://www.ltg.ed.ac.uk/~ht/xsv-status.html


Thanks,
Robert Braddock
Received on Thursday, 4 January 2001 20:07:50 GMT

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