SAX and <!DOCTYPE>

Steinar Bang sb at metis.no
Mon Dec 13 08:26:40 GMT 1999


>>>>> Lars Marius Garshol <larsga at garshol.priv.no>:

> There is an equivalent to a cloning function in the AttributeListImpl
> class already:

>   <URL: http://www.megginson.com/SAX/javadoc/org.xml.sax.helpers.AttributeListImpl.html >

Yes, but unless you implement a cloning function in the AttributeList
interface, it has to iterate throught the AttributeList, using the
public interface to make a deep copy, and this means we can't optimize
by using a refcounting shallow copy.

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 unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe 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