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/01/29 13:44:41 UTC
DO NOT REPLY [Bug 6092] -
stricmp and strnicmp not present in FreeBSD
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=6092>.
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=6092
stricmp and strnicmp not present in FreeBSD
sergei_v_p@yahoo.com changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |Can't turn validation of
| |SAX2 off completly.
Component|Utilities |SAX/SAX2
OS/Version|FreeBSD |Windows NT/2K
Priority|Other |Medium
Platform|All |PC
------- Additional Comments From sergei_v_p@yahoo.com 2002-01-29 12:44 -------
I try to parse XML-file with a referance to external DTD file with SAX2 parser.
<!DOCTYPE clu SYSTEM "CLUInputConversion.DTD">
But DTD file (CLUInputConversion.DTD) is absent. I don't need validation, just
want to check that my XML-file is well formed, so I turn validation off
SAX2XMLReader* pParser = XMLReaderFactory::createXMLReader();
// turn off validation
pParser->setFeature(
XMLString::transcode("http://xml.org/sax/features/validation"),
false);
pParser->setFeature(
XMLString::transcode("http://apache.org/xml/features/validation/dynamic"),
false);
But I get fatal error at that line (referance to external DTD file) and parsing
terminates.
Setting "ExitOnFirstFatalError" to true and/or "ValidationConstraintFatal" to
false has no effect.
But Microsoft parser do parse this file.
---------------------------------------------------------------------
To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xerces-c-dev-help@xml.apache.org