Hi adam,
as u said i have downloded the xalan.jar and adde it as an
external jar.it is working .it is is giving output in console like this
@@Processing file inpit.txt
uima.tcas.DocumentAnnotation
"vijay,michale,uima,who are these?"
sofa = uima.cas.Sofa
sofaNum = 1
sofaID = "_InitialView"
mimeType = "text"
sofaArray = null
sofaString = "vijay,michale,uima,who are these?"
sofaURI = null
begin = 0
end = 33
language = "x-unspecified"
com.iton.uima.TestType
"who"
sofa = uima.cas.Sofa //here i have passed
vijay,michale,uima as conigaration parameter but it does't read?
sofaNum = 1 //why it happend like
this? here i got "who" this came from where we mention the name of the
sofaID = "_InitialView" //class in
webanalysis.xml...
mimeType = "text"
sofaArray = null
sofaString = "vijay,michale,uima,who are these?"
sofaURI = null
begin = 19
end = 22
TestType = "who"@@ And main problem is i am not getting in IEBrowser i
have given it as like thishttp://localhost:8000//UIMAWeb/servlet/Test
here i got error saying "com.ibm.uima.util.InvalidXMLException".invalid
descriptor file at"c://tomcat/descriptor/webanalysis.xml".i have tried in
google but didn't get relevent ones.
if u want to use this as web application wht are thing we have to do
i will explain u what i have done tell me wether it is wright wya or
not........
in servlt i have put "example application" as main class,descritor,input and
out put in webroot,then i have deployed it in tomact.i got the above error.
i hope u will get it what iam asking for.........
i have 2 problems here 1)is regarding configarationparameter.2) how to write
in web application
vijay
On 9/17/07, Adam Lally <[EMAIL PROTECTED]> wrote:
>
> On 9/17/07, vijay vijay <[EMAIL PROTECTED]> wrote:
> > HI adam,
> > when i put this example as web application,
> i
> > have written this as servlet here i am gettig an error like this.i have
> > tried to solve , i have searched in google i have not found relative one
> >
> > """
> >
> > java.lang.NoSuchMethodError:
> > javax.xml.transform.dom.DOMResult.getNextSibling()Lorg/w3c/dom/Node;
> > <snip/>
> > can u tell me exctly where i went wrong.........
> >
>
> I have not seen this before, but I Googled it and did find some hits
> about bugs in Xalan (for example:
>
> http://mail-archives.apache.org/mod_mbox/lenya-dev/200508.mbox/[EMAIL
> PROTECTED]
> ).
>
> You might try using a newer Java release or get a newer version of
> xalan.jar from xml.apache.org. These XML parser version issues are
> always a pain!
>
>
> > and i would like to know
> > ur timings so that i can stay in office
>
> I can't guarantee having time at any particular hour to reply to your
> questions. Look at the times of the emails that I've sent in the past
> and that should give you a rough idea.
>
> -Adam
>