XMLReader using

Discussion in 'Java' started by vahan, Nov 14, 2006.

  1. vahan

    vahan Guest

    Has somebody got problem with using org.xml.sax.XMLReader:

    XMLReader myReader = XMLReaderFactory.createXMLReader();
    myReader.setContentHandler(new someContextHandler(someBeanInstance));
    myReader.parse(new InputSource(someReaderInstance));

    When I create InputSource with Reader as argument , there is problem
    during parsing,
    but when I create InputSource with InputStream as argument there is
    no problem.
     
    vahan, Nov 14, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Guest

    XMLReader or XMLDocument ?

    Guest, Dec 23, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    843
    Michel
    Dec 24, 2003
  2. George Durzi

    DataSet into XmlReader

    George Durzi, Dec 31, 2003, in forum: ASP .Net
    Replies:
    5
    Views:
    7,039
    Patrick Steele [MVP]
    Dec 31, 2003
  3. =?Utf-8?B?TGFMYUJveQ==?=

    XmlReader Problem

    =?Utf-8?B?TGFMYUJveQ==?=, May 6, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    443
    =?Utf-8?B?SmFrb2IgQ2hyaXN0ZW5zZW4=?=
    May 13, 2004
  4. terrorix
    Replies:
    0
    Views:
    563
    terrorix
    Jun 9, 2004
  5. wapsiii

    Read xml string into XmlReader

    wapsiii, Feb 1, 2006, in forum: ASP .Net
    Replies:
    2
    Views:
    86,939
    wapsiii
    Feb 1, 2006
Loading...

Share This Page