commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eduardo Simioni <edua...@simioni.net>
Subject [Digester] Problems parsing a file
Date Mon, 27 Dec 2004 15:02:55 GMT
Hi,

I have a code that works inside Eclipse but outside it isn't working.
Probably it's a problem with classpath, but I don't know where and why.

I've been searching the web for a solution but //I couldn't find.
The logs are much different from each other, I don't have any idea why 
this happens.

Thanks in advance.

Eduardo.

Here are the logs:

********** INSIDE ECLIPSE **********
2004-12-27 16:49:09,312 DEBUG sax - 
setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@15e83f9)
2004-12-27 16:49:09,312 DEBUG sax - startDocument()
2004-12-27 16:49:09,328 DEBUG sax - 
startPrefixMapping(xml,http://www.w3.org/XML/1998/namespace)
2004-12-27 16:49:09,328 DEBUG sax - 
startPrefixMapping(xmlns,http://www.w3.org/2000/xmlns/)
2004-12-27 16:49:09,328 DEBUG sax - startElement(,,script)
2004-12-27 16:49:09,328 DEBUG Digester -   Pushing body text ''
2004-12-27 16:49:09,328 DEBUG Digester -   New match='script'
2004-12-27 16:49:09,328 DEBUG Digester -   Fire begin() for 
ObjectCreateRule[className=gov.utrafe.test.xml.command.CommandSet, 
attributeName=null]
2004-12-27 16:49:09,328 DEBUG Digester - [ObjectCreateRule]{script}New 
gov.utrafe.test.xml.command.CommandSet
2004-12-27 16:49:09,328 DEBUG Digester -   Fire begin() for 
SetPropertiesRule[]
2004-12-27 16:49:09,328 DEBUG Digester - [SetPropertiesRule]{script} 
Setting property 'name' to 'loginEsistafe'
2004-12-27 16:49:09,343 DEBUG Digester - [SetPropertiesRule]{script} 
Setting property 'description' to 'Executa login no e-SISTAFE'
2004-12-27 16:49:09,343 DEBUG Digester - [SetPropertiesRule]{script} Set 
gov.utrafe.test.xml.command.CommandSet properties


********** OUTSIDE ECLIPSE **********
2004-12-27 16:36:05,375 DEBUG sax - 
setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@1c6f579)

2004-12-27 16:36:05,375 DEBUG sax - startDocument()
2004-12-27 16:36:05,375 DEBUG sax - 
processingInstruction('xml','version="1.0" encoding="ISO-8859-1" ')
2004-12-27 16:36:05,390 DEBUG sax - startElement(,,HTML)
2004-12-27 16:36:05,390 DEBUG Digester -   Pushing body text ''
2004-12-27 16:36:05,390 DEBUG Digester -   New match='HTML'
2004-12-27 16:36:05,390 DEBUG Digester -   No rules found matching 'HTML'.
2004-12-27 16:36:05,390 DEBUG sax - startElement(,,HEAD)
2004-12-27 16:36:05,390 DEBUG Digester -   Pushing body text ''
2004-12-27 16:36:05,390 DEBUG Digester -   New match='HTML/HEAD'
2004-12-27 16:36:05,390 DEBUG Digester -   No rules found matching 
'HTML/HEAD'.
2004-12-27 16:36:05,390 DEBUG sax - startElement(,,SCRIPT)
2004-12-27 16:36:05,390 DEBUG Digester -   Pushing body text ''
2004-12-27 16:36:05,390 DEBUG Digester -   New match='HTML/HEAD/SCRIPT'
2004-12-27 16:36:05,390 DEBUG Digester -   No rules found matching 
'HTML/HEAD/SCRIPT'.
2004-12-27 16:36:05,390 DEBUG sax - characters(        )
2004-12-27 16:36:05,390 DEBUG sax - characters(<assertPresent 
text="Senha" />        )
2004-12-27 16:36:05,390 DEBUG sax - characters(<assertNotPresent 
text="erro" />        )
2004-12-27 16:36:05,390 DEBUG sax - characters(<setText field="username" 
value="${user.default}" />        )
2004-12-27 16:36:05,390 DEBUG sax - characters(<setText field="password" 
value="${password.default}" />        )
2004-12-27 16:36:05,390 DEBUG sax - characters(<clickButton 
label="Entrar" />        )
2004-12-27 16:36:05,406 DEBUG sax - characters(<assertNotPresent 
text="erro" />        )
2004-12-27 16:36:05,406 DEBUG sax - characters(<selectOption 
field="applicationCode" value="${application}" />        )
2004-12-27 16:36:05,406 DEBUG sax - characters(<clickButton 
label="${button.select}" />)
2004-12-27 16:36:05,406 DEBUG sax - endElement(,,SCRIPT)
2004-12-27 16:36:05,406 DEBUG Digester -   match='HTML/HEAD/SCRIPT'
2004-12-27 16:36:05,406 DEBUG Digester -   bodyText='

        <assertPresent text="Senha" />
        <assertNotPresent text="erro" />
        <setText field="username" value="${user.default}" />
        <setText field="password" value="${password.default}" />
        <clickButton label="Entrar" />

        <assertNotPresent text="erro" />
        <selectOption field="applicationCode" value="${application}" />
        <clickButton label="${button.select}" />

'
2004-12-27 16:36:05,406 DEBUG Digester -   No rules found matching 
'HTML/HEAD/SCRIPT'.
2004-12-27 16:36:05,406 DEBUG Digester -   Popping body text ''
2004-12-27 16:36:05,406 DEBUG sax - characters()
2004-12-27 16:36:05,406 DEBUG sax - endElement(,,HEAD)
2004-12-27 16:36:05,406 DEBUG Digester -   match='HTML/HEAD'
2004-12-27 16:36:05,406 DEBUG Digester -   bodyText=''
2004-12-27 16:36:05,406 DEBUG Digester -   No rules found matching 
'HTML/HEAD'.
2004-12-27 16:36:05,406 DEBUG Digester -   Popping body text ''
2004-12-27 16:36:05,406 DEBUG sax - endElement(,,HTML)
2004-12-27 16:36:05,406 DEBUG Digester -   match='HTML'
2004-12-27 16:36:05,406 DEBUG Digester -   bodyText=''
2004-12-27 16:36:05,421 DEBUG Digester -   No rules found matching 'HTML'.
2004-12-27 16:36:05,421 DEBUG Digester -   Popping body text ''
2004-12-27 16:36:05,421 DEBUG sax - endDocument()

---------------------------------------------------------------------
To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-user-help@jakarta.apache.org


Mime
View raw message