Hi,

We are facing a problem regarding Struts-Validator with OXF.

The problem is, When we give action mappings(We have to extend
ValidatorActionForm instead of ValidatorForm) instead of form name in the
validation.xml, it gives a XSLT parsing error.(Stack Trace is given below)

Eg: /login is the action mapping.
   <formset>
        <form name="/login">
            <field property="username"
                    depends="required">
                <arg0   key="login.main.loginid"/>
            </field>

P.Note: This works fine when we specify the form name here. 

Does OXF 2.0 support action mapping like above in validation.xml? Waiting
for a answer regarding this.

Thanks and Regards
Crishantha


The stack Trace is:
java.lang.RuntimeException: String index out of range: -1 at
orbeon.apache.xalan.transformer.TransformerImpl.run(TransformerImpl.java:336
4) at
orbeon.apache.xalan.transformer.TransformerHandlerImpl.endDocument(Transform
erHandlerImpl.java:427) at
org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:168) at
org.orbeon.oxf.processor.pipeline.TeeProcessor$1.readImpl(TeeProcessor.java:
35) at org.orbeon.oxf.processor.ProcessorImpl$5.read(ProcessorImpl.java:784)
at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read
_______________________________________________
oxf-users mailing list
[EMAIL PROTECTED]
http://mail.orbeon.com/mailman/listinfo/oxf-users

Reply via email to