OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: SAX: Processing Instructions (question 6 of 10)

[ Lists Home | Date Index | Thread Index ]
  • From: Tim Bray <tbray@textuality.com>
  • To: xml-dev@ic.ac.uk
  • Date: Sun, 04 Jan 1998 10:11:01 -0800

At 01:12 PM 03/01/98 -0500, David Megginson wrote:
>Should SAX implement a callback for processing instructions?

Yes.  As follows

PI(String target, String remainder);

Since a conformant processor has to split 'em up anyhow.  If there's
no remainder, i.e. <?SomeApp?>, then the remainder argument should
be the empty string "", not null.  Or perhaps the remainder should
be done with (char[], offset, length), like charData[] 
 -Tim

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/
To (un)subscribe, mailto:majordomo@ic.ac.uk the following message;
(un)subscribe 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)





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS