[From nobody Fri Aug 6 17:05:13 2004 Message-ID: <B4A3FEE9CE6FD411AE7B00508BF1C6BE193F36@mail.restaurantpro.com> From: Jack Hart <jhart@RestaurantPro.com> To: "Magoffin, Matt" <mmagoffin@proxicom.com> Cc: Jack Hart <jhart@RestaurantPro.com>, Lisa Sewell <lsewell@RestaurantPro.com>, John O'Sullivan <josullivan@RestaurantPro.com> Subject: re: xml validation error posting Date: Wed, 18 Oct 2000 15:32:26 -0700 X-Message-Flag: Follow up MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2650.21) Content-Type: text/plain; charset="iso-8859-1" Dear Matt, Indeed we did solve that problem, the issue you're seeing I think has to do with namespace support. Here are the settings that we used to make it work [i.e. we turned namespace support off]: XMLReader xr = (XMLReader)Class.forName(parserClass).newInstance(); // Set up validating parser feature and namespace prefixes feature try { xr.setFeature("http://xml.org/sax/features/validation", true); xr.setFeature("http://xml.org/sax/features/namespaces", false); xr.setFeature("http://xml.org/sax/features/namespace-prefixes", true); } catch (SAXException e) { System.out.println("error in setting up parser feature"); } xr.setContentHandler(this); xr.setErrorHandler(this); xr.setDTDHandler(this); Hope this helps, -=j=- Jack Hart Restaurantpro.com 150 Cali St. 3rd floor SF, CA 94111 (P) 415-277-4541 (F) 415-277-0158 jhart@restaurantpro.com http://www.restaurantpro.com/ ]