summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_validate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_validate.cpp')
-rw-r--r--xfa/fxfa/parser/cxfa_validate.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xfa/fxfa/parser/cxfa_validate.cpp b/xfa/fxfa/parser/cxfa_validate.cpp
index f2892e507f..0df92d310c 100644
--- a/xfa/fxfa/parser/cxfa_validate.cpp
+++ b/xfa/fxfa/parser/cxfa_validate.cpp
@@ -54,7 +54,7 @@ void CXFA_Validate::GetMessageText(WideString& wsMessage,
continue;
WideStringView wsName;
- pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName);
+ pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true);
if (wsName.IsEmpty() || wsName == wsMessageType) {
pItemNode->JSNode()->TryContent(wsMessage);
return;
@@ -92,7 +92,7 @@ void CXFA_Validate::SetMessageText(WideString& wsMessage,
continue;
WideStringView wsName;
- pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName);
+ pItemNode->JSNode()->TryCData(XFA_ATTRIBUTE_Name, wsName, true);
if (wsName.IsEmpty() || wsName == wsMessageType) {
pItemNode->JSNode()->SetContent(wsMessage, wsMessage, false, false, true);
return;