[Home] [By Thread] [By Date] [Recent Entries]

  • From: "Fuchs, Matthew" <matthew.fuchs@c...>
  • To: 'Prashanth Rao' <prao@v...>, Xml-Dev <xml-dev@l...>
  • Date: Tue, 21 Aug 2001 11:51:14 -0700

Since Kohsuke is quoting me, I'll answer.  The elementFormDefault attribute
in XSDL is in the Schema document namespace.  However, here I'm positing an
elementFormDefault attribute appearing in an _instance_.  Attributes defined
to be used in instances are in the http://www.w3.org/2001/XMLSchema-instance
namespace [1].

Matthew

[1] http://www.w3.org/TR/xmlschema-1/#Instance_Document_Constructions

> -----Original Message-----
> From: Prashanth Rao [mailto:prao@v...]
> Sent: Monday, August 20, 2001 1:32 PM
> To: 'Kohsuke KAWAGUCHI'; Xml-Dev
> Subject: RE: Namespaces, W3C XML Schema (was Re: ANN: SAX Filters for
> Name spaceProcessing)
> 
> 
> Just a minor correction.  The elementFormDefault attribute 
> belongs in the
> Schema document namespace (i.e., the .xsd file) and not in 
> the XML instance
> document.
> 
> Kohsuke KAWAGUCHI wrote:
> > 
> > <p:root xmlns:p="abc"
> >         xsi:elementFormDefault="qualified">
> >    <p:child/>
> > </p:root>
> > 
> > and 
> > 
> > <p:root xmlns:p="abc"
> >         xsi:elementFormDefault="unqualified">
> >    <child/>
> > </p:root>
> > 
> 
> 
> Regards,
> Prashanth Rao
> Vitria
> 
> -----------------------------------------------------------------
> The xml-dev list is sponsored by XML.org <http://www.xml.org>, an
> initiative of OASIS <http://www.oasis-open.org>
> 
> The list archives are at http://lists.xml.org/archives/xml-dev/
> 
> To subscribe or unsubscribe from this elist use the subscription
> manager: <http://lists.xml.org/ob/adm.pl>
> 

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member