I am currently using SOA Domain Value Maps to store values.
The data stored in the DVM is an email template in HTML format.
After deploying the composite to the server, I accessed SOA Composer to modify the DVM on run time. The following was realized:
- Editing, saving and committing a row that contains HTML, will not be reflected on run time and produce the error below.
- Editing, saving and committing a row that does not contain HTML, will result in the changes reflecting on run time.
I made a small test and found the root of the problem, which is when I have the following text stored in the DVM:
Basically, the characters =" are the source of the error. Whenever I have the equal sign followed by a quote, the error below is produced in the soa log.
Every time I attempt to modify the DVM on run time from the Composer, the error shown below produced.
Even clearing the cell completely and replacing the value with any text without special characters will produce an error in the stack.
I tried converting these characters to ASCII, but it did not resolve the issue. I also tried escape characters.
Is there a certain encoding for the DVM to accept HTML?
Are there any special characters that are not accepted in DVM?
The following was retrieved from the stack trace.
<?xml version = '1.0' encoding = 'UTF-8'?>
<dvm name="DVM_actionType_cancelMsgBody" xmlns="http://xmlns.oracle.com/dvm">
<description> groupCode to messageBody and subject mapping
<cell>test \=\" aaa</cell>
Expected ']' instead of ' aaa'.
oracle.xml.xpath.XPathException: Expected ']' instead of ' aaa'.
Thanks in advance,