Corrections to Chapter 17 of XML in a Nutshell, SAX

p. 251: SAXException is a checked exception, not a runtime exception.

p 260: When reading a property a cast is normally necessary. The last code fragment on the page should read:

try {
  String tag = (String) parser.getProperty(
   "http://xml.org/sax/properties/xml-string");
}

[ XML in a Nutshell Corrections | XML in a Nutshell Home Page | Table of Contents | Examples | Order from Amazon ]

Copyright 2001 Elliotte Rusty Harold
elharo@metalab.unc.edu
Last Modified December 2, 2001