Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

javax.xml

 
mike mckenna
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to compile the Sun xml tutorial "Echo" found at http://java.sun.com/xml/docs/tutorial/sax/2a_echo.html. The source contains the following imports:
import javax.xml.parsers.SAXParserFactory;
import javax.xml.parsers.ParserConfigurationException;
import javax.xml.parsers.SAXParser;
I have downloaded and installed 'project X' (xml-tr2) and put the jar file in my classpath but the code won't compile because it doesn't recognize these classes. Any clues?
 
Ajith Kallambella
Sheriff
Posts: 5782
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Mike,
I have moved your post to XML Forum.
Ajith
 
mike mckenna
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Never mind, I finally found the classes on the Sun site.
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic