I try to assign some special characters as input value, for example <assign> | <copy> | <from expression="'-?/">='"/> | <to variable="inputVariable"/> | </copy> | </assign> it works and I got anonymous wrote : -?/">= as the result. But when I replaces the ?>? with ?<? <assign> | <copy> | <from expression="'-?/"<='"/> | <to variable=" inputVariable"/> | </copy> | </assign> I got the following error message:
anonymous wrote : AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client | faultSubcode: | faultString: The content of elements must consist of well-formed character data | or markup. | faultActor: | faultNode: | faultDetail: | {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXParseException: | The content of elements must consist of well-formed character data or markup. So my first question is how to assign ?<? in an input. Looks like it takes ?<? as starting a markup, my second question is how to assign XML as an input value. For example, I need to assign this as an input: <?xml version="1.0" encoding="UTF-8"?><Sample>TEST</Sample> I try <assign> | <copy> | <from expression="concat( | '<?xml version="1.0" encoding="UTF-8"?>', | '<Sample>TEST</Sample>')"/> | <to variable=" inputVariable"/> | </copy> | </assign> But I got error message: anonymous wrote : AxisFault | faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client | faultSubcode: | faultString: The processing instruction target matching "[xX][mM][lL]" | ; is not allowed. | faultActor: | faultNode: | faultDetail: | {http://xml.apache.org/axis/}stackTrace: org.xml.sax.SAXParseException: | The processing instruction target matching "[xX][mM][lL]" is not allow | ed. Please shed some lights on this. Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3981095#3981095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3981095 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user