• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Is DocumentHandler a SAX interface?

 
John Wetherbie
Rancher
Posts: 1449
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Just took the SAX & DOM mock exam and noticed that some of the questions referred to a SAX interface named DocumentHandler. I am familiar with the ContentHandler interface (in SAX 2) but I'm not sure about DocumentHandler.
OK, looks like DocumentHandler was used in SAX 1.
Do we need to know SAX 1 for the cert exam?
Does the SAX & DOM mock exam need to be updated to reflect SAX 2? If so, I'd be willing to work on updating it.
[ February 04, 2003: Message edited by: John Wetherbie ]
 
Valentin Crettaz
Gold Digger
Sheriff
Posts: 7610
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,
DocumentHandler is indeed an interface (in SAX 1) but has been deprecated. The interface that should be used for that purpose is now ContentHandler (SAX 2) which includes namespace support.
Do we need to know SAX 1 for the cert exam?
Apparently, from IBM 141 objectives, we only need to know SAX/DOM 2.

2. Select appropriate XML technologies for an architecture (XML Schema 1.0, XSLT 1.0, DOM2, SAX2, XPath 1.0, Namespaces, DTDs)

Does the SAX & DOM mock exam need to be updated to reflect SAX 2?
I would say so
If so, I'd be willing to work on updating it.
You're more than welcome to do it
[ February 04, 2003: Message edited by: Valentin Crettaz ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic