Hi all.

Does someone know about parsing xml that contains hebrew, using xerces?

I tried the encode: windows-1255, Cp1255 and it still returned question
marks.

my method:

  protected static Document readXmlFile(String fileName) throws
XmlManagerException{
    DOMParser p = new DOMParser();

    try {
      FileInputStream fis = new
FileInputStream(RESOURCES_FINALS_DIR+"/"+fileName);

p.setFeature("http://apache.org/xml/features/allow-java-encodings",true);
      p.parse(new InputSource(fis));
    } catch(Exception e) {
      throw new XmlManagerException(MessageFinals.XML_NOT_FOUND);
    }
    return p.getDocument();
  }

!!!!!! Can anyone recommend me of xerces mailing list.
thanks for your time.

yaron


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

Reply via email to