Bug 35726 - SAXParser.getParser() always returns null.
Summary: SAXParser.getParser() always returns null.
Status: UNCONFIRMED
Alias: None
Product: classpath
Classification: Unclassified
Component: xml (show other bugs)
Version: 0.97
: P3 normal
Target Milestone: ---
Assignee: chris burdess
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-27 23:40 UTC by freebeans
Modified: 2008-03-27 23:40 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description freebeans 2008-03-27 23:40:48 UTC
SAXParser.getParser() always returns null.
Parser interface is deprecated, but some (old) programs use this interface.

I think following code solve this problem.
---
  public Parser getParser()
    throws SAXException
  {
//    return null;
    return new XMLReaderAdapter(this);
  }
---