PLEASE DO NOT REPLY TO THIS MESSAGE. TO FURTHER COMMENT ON THE STATUS OF THIS BUG PLEASE FOLLOW THE LINK BELOW AND USE THE ON-LINE APPLICATION. REPLYING TO THIS MESSAGE DOES NOT UPDATE THE DATABASE, AND SO YOUR COMMENT WILL BE LOST SOMEWHERE. http://nagoya.apache.org/bugzilla/show_bug.cgi?id=3395 *** shadow/3395 Mon Sep 3 22:41:58 2001 --- shadow/3395.tmp.25712 Tue Sep 11 06:43:50 2001 *************** *** 2,9 **** | ignorable whitespace in DOMParser broken | +----------------------------------------------------------------------------+ | Bug #: 3395 Product: Xerces-C++ | ! | Status: NEW Version: Nightly build | ! | Resolution: Platform: Macintosh | | Severity: Normal OS/Version: Linux | | Priority: Other Component: DOM | +----------------------------------------------------------------------------+ --- 2,9 ---- | ignorable whitespace in DOMParser broken | +----------------------------------------------------------------------------+ | Bug #: 3395 Product: Xerces-C++ | ! | Status: RESOLVED Version: Nightly build | ! | Resolution: INVALID Platform: Macintosh | | Severity: Normal OS/Version: Linux | | Priority: Other Component: DOM | +----------------------------------------------------------------------------+ *************** *** 37,40 **** indentation at the front of lines). I've enabled validation by calling setDoValidation(true), have the validation scheme set to Val_Auto, and am using schemaLocation in my document to specify my namespaces & associated ! schemas. Is there something more I need to do? --- 37,90 ---- indentation at the front of lines). I've enabled validation by calling setDoValidation(true), have the validation scheme set to Val_Auto, and am using schemaLocation in my document to specify my namespaces & associated ! schemas. Is there something more I need to do? ! ! ------- Additional Comments From [EMAIL PROTECTED] 2001-09-11 06:43 ------- ! I tried the DOMPrint sample, and added this line ! ! --- d:\cvswork\xml-xerces\c\samples\DOMPrint\DOMPrint.cpp Tue Sep 11 ! 06:31:04 2001 ! +++ e:\xerces_c_dev\samples\DOMPrint\DOMPrint.cpp Tue Sep 11 06:30:42 2001 ! @@ -431,6 +431,7 @@ ! // discovers errors during the course of parsing the XML document. ! // ! DOMParser *parser = new DOMParser; ! + parser->setIncludeIgnorableWhitespace(false); ! parser->setValidationScheme(gValScheme); ! parser->setDoNamespaces(gDoNamespaces); ! parser->setDoSchema(gDoSchema); ! ! ! and here is what I get: ! E:\xmlTest_1_2_0>domprint -n -s e:\xerces_c_dev\samples\data\personal-schema.xml ! <?xml version="1.0" encoding="UTF-8"?> ! ! <personnel xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ! xsi:noNamespaceSchemaLocation="pers ! onal.xsd"><person id="Big.Boss" ! contr="false"><name><family>Boss</family><given>Big</given></name><e ! mail>[EMAIL PROTECTED]</email><link subordinates="one.worker two.worker three.worker ! four.worker five.wo ! rker"/></person><person id="one.worker" ! contr="false"><name><family>Worker</family><given>One</given ! ></name><email>[EMAIL PROTECTED]</email><link manager="Big.Boss"/></person><person ! id="two.worker" contr=" ! false"><name><family>Worker</family><given>Two</given></name><email>[EMAIL PROTECTED]< ! /email><link manager ! ="Big.Boss"/></person><person id="three.worker" ! contr="false"><name><family>Worker</family><given>Th ! ree</given></name><email>[EMAIL PROTECTED]</email><link ! manager="Big.Boss"/></person><person id="four.wo ! rker" ! contr="false"><name><family>Worker</family><given>Four</given></name><email>four ! @foo.com</emai ! l><link manager="Big.Boss"/></person><person id="five.worker" ! contr="false"><name><family>Worker</fa ! mily><given>Five</given></name><email>[EMAIL PROTECTED]</email><link ! manager="Big.Boss"/></person></perso ! nnel> ! ! So those ignorable text are not included and work as expected .... ! ! Do you have more information like a sample problem or xml data file for ! further investigation? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
