Hi,

try the following :

protected static final String DEFAULT_PARSER_NAME = 
"org.apache.xerces.parsers.SAXParser"; 
 
parser = XMLReaderFactory.createXMLReader(DEFAULT_PARSER_NAME);
Cheers

Orla

-----Original Message-----
From: Mercy Ponnupandy [mailto:[EMAIL PROTECTED]
Sent: Montag, 4. M�rz 2002 10:42
To: [EMAIL PROTECTED]
Subject: Exception: System property org.xml.sax.driver not specified


Hello,
  I'm using JDK 1.3 and Xerces-J. I was trying to
create an XMLReader. My code is,

 XMLReader xr = XMLReaderFactory.createXMLReader();

  I'm getting the following error.

org.xml.sax.SAXException: System property
org.xml.sax.driver not specified
        at
org.xml.sax.helpers.XMLReaderFactory.createXMLReader(Unknown
Source)
        at XMLMapping.main(XMLMapping.java:55)

  Is this because my "org.xml.sax.driver" is null?. If
so, how can I set my org.xml.sax.driver property?

  Any suggetsions are welcome. Thanks in advance.

regards,
Mercy

=====
Mercy Ponnupandy,
Master of Computer Applications - Final Year,
Anna University,
Chennai,
India.

__________________________________________________
Do You Yahoo!?
Yahoo! Sports - sign up for Fantasy Baseball
http://sports.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to