"Namespaces in XML" idea?
David Megginson
david at megginson.com
Tue Feb 9 12:38:32 GMT 1999
Dan Brickley writes:
> > By the way, I was a little surprised to read that expat does not
> > pass xmlns attributes to the application. I had always assumed
> > that attributes were part of the document's data and therefore
> > the processor was required to pass them to the application.
> > [...]
>
> A pragmatic reason for passing on the xmlns:xyz information is that some
> applications might want to go beyond what 'Namespaces in XML' itself
> provides and use similarly abbreviated values _inside_ data attributes
> instead of full URIs (eg. for data types), and make use of the XMLNS
> info when doing so.
The easiest way to resolve this question would be to decide that
1. Namespace declarations do not appear as attributes in the
Namespaces view; and
2. some applications may require information from both the XML 1.0 and
the Namespaces view concurrently.
Note that neither is normative -- I'm proposing them only as rules of
thumb.
All the best,
David
--
David Megginson david at megginson.com
http://www.megginson.com/
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/ and on CD-ROM/ISBN 981-02-3594-1
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