- This topic has 3 replies, 2 voices, and was last updated 19 years, 5 months ago by martin_johnny1978.
-
AuthorPosts
-
martin_johnny1978Memberhi,
– System Setup ——————————-
Operating System and version: xp
Eclipse version: 3.0.1
Eclipse build id:
Fresh Eclipse install (y/n):y
If not, was it upgraded to its current version using the update manager?
Other installed external plugins:
Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*:
MyEclipse version:
Eclipse JDK version:
Application Server JDK version:
Are there any exceptions in the Eclipse log file?If this is a DB related question please answer the following:
RDBMS vendor and version:
JDBC driver vendor and version, and access type (thin, type-2, etc):
Connection URL:
Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:– Message Body ——————————-
<?xml version="1.0" encoding="iso-8859-1"?> <!DOCTYPE form-validation PUBLIC "-//Apache Software Foundation//DTD Commons Validator Rules Configuration 1.1.3//EN" "http://jakarta.apache.org/commons/dtds/validator_1_1_3.dtd"> <form-validation> <global> <constant> <constant-name>areacode</constant-name> <constant-value>^\d{3}\d*$</constant-value> </constant> <constant> <constant-name>location</constant-name> <constant-value>^\d{4}\d*$</constant-value> </constant> <constant> <constant-name>exchange</constant-name> <constant-value>^\d{3}\d*$</constant-value> </constant> <constant> <constant-name>zipcode</constant-name> <constant-value>^\d{5}(-\d{4})?$</constant-value> </constant> </global> <formset> <form name="callbackForm"> <field property="firstName" depends="required,mask,minlength,maxlength"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.firstName" position="0"/> <arg name="minlength" key="${var:minlength}" resource="false" position="1"/> <arg name="maxlength" key="${var:maxlength}" resource="false" position="2"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\s\.]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>2</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>20</var-value> </var> </field> <field property="lastName" depends="required,mask,minlength,maxlength"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.lastName" position="0"/> <arg name="minlength" key="${var:minlength}" resource="false" position="1"/> <arg name="maxlength" key="${var:maxlength}" resource="false" position="2"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\s\.]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>2</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>20</var-value> </var> </field> <field property="home_location" depends="required,mask"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.phoneNum"/> <var> <var-name>mask</var-name> <var-value>${location}</var-value> </var> </field> <field property="home_area_code" depends="required,mask"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.phoneNum"/> <var> <var-name>mask</var-name> <var-value>${areacode}</var-value> </var> </field> <field property="home_exchange" depends="required,mask"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.phoneNum"/> <var> <var-name>mask</var-name> <var-value>${exchange}</var-value> </var> </field> <field property="ext" depends="mask"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.ext" position="0"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9-#\s\.]*$</var-value> </var> </field> </form> <form name="enrollForm"> <field property="firstName" depends="required,mask,minlength,maxlength"> <msg name="mask" key="enrollForm.firstName.maskmsg"/> <arg key="enrollForm.firstName" position="0"/> <arg name="minlength" key="${var:minlength}" resource="false" position="1"/> <arg name="maxlength" key="${var:maxlength}" resource="false" position="2"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\s\.]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>2</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>20</var-value> </var> </field> <field property="ext" depends="mask"> <msg name="mask" key="errors.invalid"/> <arg key="callbackForm.ext" position="0"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9-#\s\.]*$</var-value> </var> </field> <field property="lastName" depends="required,mask,minlength,maxlength"> <msg name="mask" key="enrollForm.lastName.maskmsg"/> <arg key="enrollForm.lastName" position="0"/> <arg name="minlength" key="${var:minlength}" resource="false" position="1"/> <arg name="maxlength" key="${var:maxlength}" resource="false" position="2"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\s\.]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>2</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>20</var-value> </var> </field> <field property="mktgCode" depends="required"> <msg name="mask" key="enrollForm.mktgCode.maskmsg"/> <arg key="enrollForm.mktgCode"/> </field> <field property="mededNum" depends="required,mask,minlength,maxlength"> <msg name="mask" key="enrollForm.mededNum.maskmsg"/> <arg key="enrollForm.mededNum"/> <var> <var-name>mask</var-name> <var-value>^[0-9]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>10</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>10</var-value> </var> </field> <field property="home_areacode" depends="required,mask"> <msg name="mask" key="enrollForm.phoneNum.maskmsg"/> <arg key="enrollForm.phoneNum"/> <var> <var-name>mask</var-name> <var-value>${areacode}</var-value> </var> </field> <field property="home_exchange" depends="required,mask"> <msg name="mask" key="enrollForm.phoneNum.maskmsg"/> <arg key="enrollForm.phoneNum"/> <var> <var-name>mask</var-name> <var-value>${exchange}</var-value> </var> </field> <field property="home_location" depends="required,mask"> <msg name="mask" key="enrollForm.phoneNum.maskmsg"/> <arg key="enrollForm.phoneNum"/> <var> <var-name>mask</var-name> <var-value>${location}</var-value> </var> </field> <field property="address1" depends="required,mask"> <msg name="mask" key="enrollForm.address1.maskmsg"/> <arg key="enrollForm.address1"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\.\(\)\:]*$</var-value> </var> </field> <field property="address2" depends="mask"> <msg name="mask" key="enrollForm.address2.maskmsg"/> <arg key="enrollForm.address2"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\.\(\)\:]*$</var-value> </var> </field> <field property="city" depends="required,mask"> <msg name="mask" key="enrollForm.city.maskmsg"/> <arg key="enrollForm.city"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\.\(\)\:]*$</var-value> </var> </field> <field property="state" depends="required,mask"> <msg name="mask" key="enrollForm.state.maskmsg"/> <arg key="enrollForm.state"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>2</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>2</var-value> </var> </field> /* Validating the Zip as defined in the global constants */ <field property="zip" depends="required,mask"> <msg name="mask" key="enrollForm.zip.maskmsg"/> <arg key="enrollForm.zip"/> <var> <var-name>mask</var-name> <var-value>${zipcode}</var-value> </var> </field> <field property="email" depends="email"> <arg0 key="enrollForm.email"/> </field> <field property="username" depends="required,mask,minlength,maxlength"> <msg name="mask" key="enrollForm.username.maskmsg"/> <arg key="enrollForm.username"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\.\(\)\:]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>3</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>15</var-value> </var> </field> <field property="password1" depends="required,mask,minlength,maxlength"> <msg name="mask" key="enrollForm.password1.maskmsg" /> <arg0 key="enrollForm.password1"/> <var> <var-name>secondProperty</var-name> <var-value>password2</var-value> </var> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\'\_\ \-\.\(\)\:]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>3</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>15</var-value> </var> </field> <field property="passwordAnswer" depends="required"> <msg name="mask" key="enrollForm.passwordAnswer.maskmsg"/> <arg key="enrollForm.passwordAnswer"/> <var> <var-name>mask</var-name> <var-value>^[a-zA-Z0-9\?\.\-\,]*$</var-value> </var> <var> <var-name>minlength</var-name> <var-value>2</var-value> </var> <var> <var-name>maxlength</var-name> <var-value>20</var-value> </var> </field> </form> </formset> </form-validation>
I get the error.
[ERROR] [org.apache.commons.digester.Digester.error(Digester.java:1439)] Parse Error at line 247 column -1: Element “form” does not allow text.
org.xml.sax.SAXParseException: Element “form” does not allow text.
at org.apache.crimson.parser.Parser2.error(Parser2.java:3354)
at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.text(ValidatingParser.java:355)
at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java:597)
at org.apache.crimson.parser.Parser2.content(Parser2.java:2010)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:233)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)
at org.apache.catalina.core.StandardService.start(StandardService.java:388)
at org.apache.catalina.core.StandardServer.start(StandardServer.java:506)
at org.apache.catalina.startup.Catalina.start(Catalina.java:781)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:681)
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
@
3255,2-9 92%
at org.apache.catalina.startup.Catalina.process(Catalina.java:179)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:243)
[2005-07-21 09:10:59,185] [INFO ] [org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:213)] Loading validation rules file from ‘/WEB-INF/validator-rules.xml’
[2005-07-21 09:10:59,190] [INFO ] [org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:213)] Loading validation rules file from ‘/WEB-INF/validator/validation.xml’
[2005-07-21 09:10:59,411] [ERROR] [org.apache.commons.digester.Digester.error(Digester.java:1439)] Parse Error at line 247 column -1: Element “form” does not allow text.
org.xml.sax.SAXParseException: Element “form” does not allow text.
at org.apache.crimson.parser.Parser2.error(Parser2.java:3354)
at org.apache.crimson.parser.ValidatingParser$ChildrenValidator.text(ValidatingParser.java:355)
at org.apache.crimson.parser.InputEntity.parsedContent(InputEntity.java:597)
at org.apache.crimson.parser.Parser2.content(Parser2.java:2010)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1963)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1691)
at org.apache.crimson.parser.Parser2.parseInternal(Parser2.java:667)
at org.apache.crimson.parser.Parser2.parse(Parser2.java:337)
at org.apache.crimson.parser.XMLReaderImpl.parse(XMLReaderImpl.java:448)
at org.apache.commons.digester.Digester.parse(Digester.java:1567)
at org.apache.commons.validator.ValidatorResources.<init>(ValidatorResources.java:159)
at org.apache.struts.validator.ValidatorPlugIn.initResources(ValidatorPlugIn.java:233)
at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164)
at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:839)
at org.apache.struts.action.ActionServlet.init(ActionServlet.java:332)
at javax.servlet.GenericServlet.init(GenericServlet.java:258)
at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:918)
at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:810)
at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3279)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:3421)
at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:785)
at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:478)
at org.apache.catalina.core.StandardHost.install(StandardHost.java:738)
at org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:300)
at org.apache.catalina.startup.HostConfig.start(HostConfig.java:389)
at org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:232)
at org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:155)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1131)
at org.apache.catalina.core.StandardHost.start(StandardHost.java:638)
at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1123)
at org.apache.catalina.core.StandardEngine.start(StandardEngine.java:343)i get the above error in all the field property start up lines.
martin_johnny1978MemberBut I dont get any error while deployment. Its just when i check the logs, i found it.
Thanks
Riyad KallaMembermoving to OT > Soft Dev, no explanation or details.
martin_johnny1978MemberThe problem seems to fixed if I have two different forms sets for the two forms i used instead one form.
Thanks
-
AuthorPosts