Win a copy of Succeeding with AI this week in the Artificial Intelligence and Machine Learning forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
  • Junilu Lacar
Sheriffs:
  • Tim Cooke
  • Jeanne Boyarsky
  • Knute Snortum
Saloon Keepers:
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • salvin francis
  • fred rosenberger
  • Frits Walraven

Is DocumentHandler a SAX interface?

 
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 ]
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • 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 ]
 
I'm not dead! I feel happy! I'd like to go for a walk! I'll even read a tiny ad:
Two software engineers solve most of the world's problems in one K&R sized book
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic