OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help



   parsing of xml string

[ Lists Home | Date Index | Thread Index ]

I can parse a file, but when I try to parse an xml string, I get a "NO
PROTOCOL" exception.

String testErrorDoc = "<?xml version='1.0'

InputSource inPS = new InputSource(xmlDoc);
saxParser.parse(inPS, handler);

I assume I have to setSystemID, but can't seem to get it right ...

anyone know ?



News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS