XSchema Spec, Section 3, Draft 1 (Namespaces)

james anderson James.Anderson at mecomnet.de
Wed Jul 1 17:36:44 BST 1998


you are suggesting a problem where there is none.
leave the prefix <-> namespace-region mechanism alone. it's not bothering you.

unless the purpose is to document the prefix, then the schema encoding should
take the form

<?xml version="1.0"?>
<?xml:namespace ns="http://www.purl.org/NET/XSchema/v1" prefix="XSC"?>
<?xml:namespace ns="http://simonstl.com/" prefix="NewSpace"?>
<XSC:XSchema>
  <XSC:Namespace ns="http://simonstl.com/">
    <XSC:Doc>The namespace (region) above is a total waste of time</XSC:Doc>
  </XSC:Namespace>
  <XSC:ElementDecl name="NewSpace:WasteOSpace">
    <XSC:Empty/>
  </XSC:ElementDecl>
</XSC:XSchema>

otherwise, you're encoding things which you do not mean.


Simon St.Laurent wrote:
> 
> For instance, an XSchema in the current version will begin:
> <?xml version="1.0"?>
> <?xml:namespace ns="http://www.purl.org/NET/XSchema/v1" prefix="XSC"?>
> <XSC:XSchema>
>   <XSC:Namespace ns="http://simonstl.com/" prefix="NewSpace">
>     <XSC:Doc>The namespace above is a total waste of time</XSC:Doc>
>   </XSC:Namespace>
>   <XSC:ElementDecl name="NewSpace:WasteOSpace">
>     <XSC:Empty/>
>   </XSC:ElementDecl>
> </XSC:XSchema>
> 
> The exciting document might look like:
> <?xml version="1.0"?>
> <?PI to be determined linking in XSchema?>
> <?xml:namespace ns="http://simonstl.com" prefix="SillySpace"?>
> <SillySpace:WasteOSpace/>
> 
> ...

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/
To (un)subscribe, mailto:majordomo at ic.ac.uk the following message;
(un)subscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)




More information about the Xml-dev mailing list