You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xerces.apache.org by tn...@apache.org on 2002/07/17 20:58:48 UTC
cvs commit: xml-xerces/c/tests/DOM/DeprecatedDOMCount DeprecatedDOMCount.cpp
tng 2002/07/17 11:58:48
Modified: c/tests/DOM/DeprecatedDOMCount DeprecatedDOMCount.cpp
Log:
samples update: for testing special encoding purpose.
Revision Changes Path
1.2 +9 -1 xml-xerces/c/tests/DOM/DeprecatedDOMCount/DeprecatedDOMCount.cpp
Index: DeprecatedDOMCount.cpp
===================================================================
RCS file: /home/cvs/xml-xerces/c/tests/DOM/DeprecatedDOMCount/DeprecatedDOMCount.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DeprecatedDOMCount.cpp 21 May 2002 18:41:41 -0000 1.1
+++ DeprecatedDOMCount.cpp 17 Jul 2002 18:58:48 -0000 1.2
@@ -179,6 +179,14 @@
{
doList = true;
}
+ else if (!strcmp(argV[argInd], "-special:nel"))
+ {
+ // turning this on will lead to non-standard compliance behaviour
+ // it will recognize the unicode character 0x85 as new line character
+ // instead of regular character as specified in XML 1.0
+ // do not turn this on unless really necessary
+ XMLPlatformUtils::recognizeNEL(true);
+ }
else
{
cerr << "Unknown option '" << argV[argInd]
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-cvs-help@xml.apache.org