SAX2: AttributeList2 and EntityRefList
David Megginson
david at megginson.com
Fri Mar 26 13:27:49 GMT 1999
John Cowan writes:
> David Megginson scripsit:
>
> > So, after some thought, here's what I came up with. This is a special
> > interface providing indexes to zero or more entity references in a
> > literal string (i.e. an attribute value). The indices are based on
> > whatever array indices the programming language is using, exclusive of
> > Unicode problems with combining characters, etc. (i.e. any
> > normalisation must already have taken place).
>
> What about references to unknown entities, though? They don't contribute
> any characters at all, and so don't fit your model.
Actually, they fit in fine -- the start and end positions will simply
be the same.
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