[
Lists Home |
Date Index |
Thread Index
]
- From: David Megginson <david@megginson.com>
- To: XMLDev list <xml-dev-digest@ic.ac.uk>
- Date: Wed, 22 Dec 1999 10:11:02 -0500 (EST)
Here is my current draft of the NamespaceDeclHandler for SAX2. Note
that the purpose of this handler is to let the application know what
Namespace prefix mappings are currently in scope, *not* to tell
anything about a specific name.
The purpose of this handler is to allow prefix-qualified names to be
used in attribute values and character data. The Namespaces REC makes
no explicit provision for this sort of usage, but as others have
pointed out, it is required for several other specs.
public interface NamespaceDeclHandler
{
public void startNamespaceDeclScope (String prefix, String uri)
throws IOException;
public void endNamespaceDeclScope (String prefix)
throws IOException;
}
There are two important questions here:
1. Is this adequate for its goal?
2. Should support for this handler be required (assuming that
Namespace processing is required)?
All the best,
David
--
David Megginson david@megginson.com
http://www.megginson.com/
xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev@ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo@ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo@ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa@ic.ac.uk)
|