Expand my Community achievements bar.

INVALID_CHARACTER_ERR

Avatar

Former Community Member

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.java:59)
        at com.adobe.workflow.dom.InstanceElement.createAndAppendElement(InstanceElement.java:455)
        at com.adobe.workflow.pat.service.PATExecutionContextImpl.createNodesForXPathExpression(PATExecutionContextImpl.java:899)
        at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(PATExecutionContextImpl.java:687)
        at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(PATExecutionContextImpl.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.java: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(RequestInterceptorChainImpl.java:60)
        at com.adobe.idp.dsc.interceptor.impl.DocumentPassivationInterceptor.intercept(DocumentPassivationInterceptor.java:53)
        at com.adobe.idp.dsc.interceptor.impl.RequestInterceptorChainImpl.proceed(RequestInterceptorChainImpl.java:60)
        at com.adobe.idp.dsc.transaction.interceptor.TransactionInterceptor$1.doInTransaction(TransactionInterceptor.java:74)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.execute(EjbTransactionCMTAdapterBean.java:357)
        at com.adobe.idp.dsc.transaction.impl.ejb.adapter.EjbTransactionCMTAdapterBean.doSupports(EjbTransactionCMTAdapterBean.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

1 Reply

Avatar

Level 10

No need to mantion the Asteric symbol in ES2.

The following assign statement must work without fail.

Nith

Location:

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

Expression:

/process_data/xmlData (xml variable)