You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by bu...@apache.org on 2002/10/10 13:59:48 UTC
DO NOT REPLY [Bug 13485] New: -
incorrect return from getWSstring
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13485>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=13485
incorrect return from getWSstring
Summary: incorrect return from getWSstring
Product: Xerces-C++
Version: Nightly build (please specify the date)
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: Other
Component: Validating Parser (Schema) (Xerces 1.5 or up only)
AssignedTo: xerces-c-dev@xml.apache.org
ReportedBy: gareth@decisionsoft.com
In cvs tree: Noticed that the switch was returning the wrong value!!
patch by Natalie "Britney" Gordon:
[gareth@somme datatype]$ cvs -z3 diff -u DatatypeValidator.cpp
Index: DatatypeValidator.cpp
===================================================================
RCS file:
/home/cvspublic/xml-xerces/c/src/xercesc/validators/datatype/DatatypeValidator.cpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 DatatypeValidator.cpp
--- DatatypeValidator.cpp 1 Feb 2002 22:22:40 -0000 1.1.1.1
+++ DatatypeValidator.cpp 10 Oct 2002 11:54:13 -0000
@@ -119,9 +119,9 @@
case PRESERVE:
return SchemaSymbols::fgWS_PRESERVE;
case REPLACE:
- return SchemaSymbols::fgWS_COLLAPSE;
- case COLLAPSE:
return SchemaSymbols::fgWS_REPLACE;
+ case COLLAPSE:
+ return SchemaSymbols::fgWS_COLLAPSE;
default:
return SchemaSymbols::fgWS_PRESERVE;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org