Hello:
I run into a problem when calling DOMParser.parse. The error message is
"Incompatible object argument for function call". The platform is Windows
NT4.0 sp6, XercesJ_2_0_2 and tomcat 4.0.4. Here is my code
public boolean Validate( byte XmlFileData[] )
throws SAXException, IOException
{
m_XmlFileData = XmlFileData;
return m_AcordXmlParser.runParser( new InputSource( new
ByteArrayInputStream( XmlFileData ) ) );
}
public boolean runParser( InputSource source )
throws SAXException, IOException
{
try
{
m_parser.parse( source );
m_doc = m_parser.getDocument();
}
catch (Exception e)
{
return false;
}
return true;
}
could anyone help me please, thanks.
Tony Chen
LabOne - IS DataNet Group
913-895-2313
This transmission (and any information attached to it) may be confidential and
is intended solely for the use of the individual or entity to which it is
addressed. If you are not the intended recipient or the person responsible for
delivering the transmission to the intended recipient, be advised that you have
received this transmission in error and that any use, dissemination,
forwarding, printing, or copying of this information is strictly prohibited. If
you have received this transmission in error, please immediately notify LabOne
at (800)388-4675.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]