1 Reply Latest reply on Dec 27, 2010 9:25 PM by $Nith$

    INVALID_CHARACTER_ERR

    Dikesh_Patel

      in set value servive (x+y)

      i am setting value to my xml object which is similar to xfa of ES.

       

      As per ES i am setting:

      Location:

      /process_data/myXfaForm/object/data/xdp/datasets/data/* (xfa variable)

      Expression:

      /process_data/xmlData (xml variable)

       

      This is working fine in ES

       

      Now i did following change in ES2 which gives following error:

       

      Location:

      /process_data/myXfaForm/xdp/datasets/data/*  (xml variable similar to xfa)

      Expression:

      /process_data/xmlData (xml variable)

       

       

      Error is here:

       

      org.w3c.dom.DOMException: INVALID_CHARACTER_ERR: An invalid or illegal XML character is specified.
              at org.apache.xerces.dom.CoreDocumentImpl.createElement(Unknown Source)
              at com.adobe.workflow.datatype.runtime.impl.xml.XMLDataTypeNode.newElement(XMLDataTypeNode.j ava:59)
              at com.adobe.workflow.dom.InstanceElement.createAndAppendElement(InstanceElement.java:455)
              at com.adobe.workflow.pat.service.PATExecutionContextImpl.createNodesForXPathExpression(PATE xecutionContextImpl.java:899)
              at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionCo ntextImpl.java:687)
              at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATEx ecutionContextImpl.java:376)
              at com.adobe.idp.workflow.dsc.service.SetValueService.execute(SetValueService.java:54)
              at sun.reflect.GeneratedMethodAccessor1454.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              at com.adobe.idp.dsc.component.impl.DefaultPOJOInvokerImpl.invoke(DefaultPOJOInvokerImpl.jav a:118)
              at com.adobe.idp.workflow.dsc.invoker.WorkflowDSCInvoker.invoke(WorkflowDSCInvoker.java:154)
              at com.adobe.idp.dsc.interceptor.impl.InvocationInterceptor.intercept(InvocationInterceptor. java:140)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
              at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassi vationInterceptor.java:53)
              at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptor ChainImpl.java:60)
              at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(Transa ctionInterceptor.java:74)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTr ansactionCMTAdapterBean.java:357)
              at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(Ej bTransactionCMTAdapterBean.java:227)
              at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
              at java.lang.reflect.Method.invoke(Method.java:597)
              NVALID_CHARACTER_ERRat org.jboss.invocation.Invocation.performCall(Invocation.java:359)

      Appriciate your kind help to find the solution.

       

      Thanks

      Dikesh