Namespace PR

Cooper, Clark (CORP, Consultant) Clark.Cooper at corporate.ge.com
Fri Jan 15 18:16:36 GMT 1999


I couldn't find it in the old Note and I can't find it in the new P.R.:

How are namespaces for qualified names in declarations declared, since they
are outside the
scope of any element?

Productions 13 through 18 show that we can use qualified names in the
declarations but what do
their prefixes mean there? For instance:

<!DOCTYPE foo [
   <!ELEMENT a:bar ANY>
   <!ELEMENT a:junk ANY>
   <!ELEMENT zebra ANY>
   <!ATTLIST zebra a:where CDATA #IMPLIED>
 ]>
<foo>
   <a:bar xmlns:a="http://pal.com/funtimes">
     <zebra a:where="here"/>
   </a:bar>

   <a:junk xmlns:a="http://rival.com/hardtimes">
     <zebra a:where="there"/>
   </a:junk>
</foo>

In the body of the document, there is no ambiguity since the uses of the
qualified name is in scope.
But in the internal subset, what namespace does "a:where" belong to? If this
is an error, what section
of the recommendation has this violated?
Clark Cooper                  Logic Technologies,Inc
cccooper at ltionline.com
(518) 388-7690                650 Franklin St., Suite 304
coopercc at netheaven.com
                                             Schenectady, NY  12305

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