uima-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "vijay vijay" <vijay...@gmail.com>
Subject The XML page cannot be displayed
Date Mon, 08 Oct 2007 11:51:48 GMT
     i have written code like this



 PrintWriter stream=response.getWriter();



File taeDescriptor = *new* File("C:\\descriptor\\aeDescriptor.xml");

File inputDir = *new* File("C:\\input");

String file1 = "output.txt";

String file2 = "package.html";

String pattern = request.getParameter("pattern");

System.*out*.println("pattern is :"+pattern);

String[]patArray = pattern.split(",");

XMLInputSource in = *new* XMLInputSource(taeDescriptor);

ResourceSpecifier specifier =


 AnalysisEngine ae = UIMAFramework.*produceAnalysisEngine*(specifier);

 ae.setConfigParameterValue("Patterns", patArray);

ae.setConfigParameterValue("Locations",*new* String[]{"xyz"});


in this context i am getting an erro like

can any one help me here....

The XML page cannot be displayed

Cannot view XML input using style sheet. Please correct the error and then
click the Refresh <javascript:location.reload()> button, or try again later.


Invalid at the top level of the document. Error processing resource '

checking the output on the browser

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message