Hi Eric, Hmmm; no, that jar should have had it--the "fix" went in on Monday. Could you send a test-case? The one we have passes.
Thanks, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [EMAIL PROTECTED] |--------+--------------------------------> | | [EMAIL PROTECTED]| | | sswell.com | | | | | | 06/26/2002 04:05 PM | | | Please respond to | | | xerces-j-user | | | | |--------+--------------------------------> >-----------------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: DocumentBuilderFactory's setAttribute() no longer working properly in xerces 2.0.2 ?? | | | | | >-----------------------------------------------------------------------------------------------------------------------| Actually the jars I grabbed from there just 20 minutes ago (after reading your suggestion) didn't seem to have the fix. But I got a 404 on http://gump.covalent.net/jars/latest/xml-xerces2 and tried what seemed like the latest ... http://gump.covalent.net/jars/2002-06-25/xml-xerces2 Does this mean it didn't quite make the build and we should look tomorrow? [EMAIL PROTECTED] To: [EMAIL PROTECTED] 06/26/2002 03:56 cc: PM Subject: Re: DocumentBuilderFactory's setAttribute() no longer working properly in xerces 2.0.2 Please respond to ?? xerces-j-user Hi Eric, Yeah, it's too bad the JAXP 1.2 problem wasn't caught sooner; there may well be a 2.0.3 to fix it. The space-before-amp problem has been there for ages though and you're the first to notice it; so that wouldn't have been a stop-ship in any event... As to gump jars: Pretty much the only fix that's gone into Xerces since 2.0.2 was the JAXP 1.2 problem; so if you grab jars from gump at this moment you'll likely get something quite stable. Not a good solution admittedly, but at least it'll work. :-) Cheers! Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [EMAIL PROTECTED] |--------+--------------------------------> | | [EMAIL PROTECTED]| | | sswell.com | | | | | | 06/26/2002 03:38 PM | | | Please respond to | | | xerces-j-user | | | | |--------+--------------------------------> > -----------------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: Re: DocumentBuilderFactory's setAttribute() no longer working properly in xerces 2.0.2 ?? | | | | | > -----------------------------------------------------------------------------------------------------------------------| What's risk of losing stability / gaining other bugs by getting gump jars? This seems like kind of an important one, as does the lost-space-before-& bug (but maybe I'm being schema-centric). Will there be a 2.0.3 in the near future? [EMAIL PROTECTED] To: [EMAIL PROTECTED] 06/26/2002 01:16 cc: PM Subject: Re: DocumentBuilderFactory's setAttribute() no longer working properly in xerces 2.0.2 Please respond to ?? xerces-j-user Hi Dave, This is a known regression and is already fixed in CVS. You can either do a CVS checkout and do a build manually, or you can look at http://gump.covalent.net/jars/latest/xml-xerces2 which should have a snapshot incorporating this fix by now. Cheers, Neil Neil Graham XML Parser Development IBM Toronto Lab Phone: 905-413-3519, T/L 969-3519 E-mail: [EMAIL PROTECTED] |--------+------------------------> | | Dave Flanagan | | | <[EMAIL PROTECTED]| | | etc.com> | | | | | | 06/26/2002 | | | 12:49 PM | | | Please respond| | | to | | | xerces-j-user | | | | |--------+------------------------> > -----------------------------------------------------------------------------------------------------------------------| | | | To: [EMAIL PROTECTED] | | cc: | | Subject: DocumentBuilderFactory's setAttribute() no longer working properly in xerces 2.0.2 ?? | | | | | > -----------------------------------------------------------------------------------------------------------------------| Using either the xerces-2_0_1 download from Apache or the one included in Sun's java_xml_pack-summer02 download I am able to successfully do the following: DocumentBuilderFactory dbf = DocumentBuilderFactory.newInstance (); dbf.setNamespaceAware(true); dbf.setValidating(true); dbf.setAttribute(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA); dbf.setAttribute(JAXP_SCHEMA_SOURCE, new File("test.xsd")); where the constants in the setAttribute methods above are defined as follows: static final String JAXP_SCHEMA_LANGUAGE = "http://java.sun.com/xml/jaxp/properties/schemaLanguage"; static final String W3C_XML_SCHEMA = "http://www.w3.org/2001/XMLSchema"; static final String JAXP_SCHEMA_SOURCE = "http://java.sun.com/xml/jaxp/properties/schemaSource"; when the above is run using xerces-2_0_2 the dbf.setAttribute(JAXP_SCHEMA_SOURCE, new File("test.xsd")); results in a stack overflow exception starting as follows Exception in thread "main" java.lang.StackOverflowError at java.io.FileNotFoundException.<init>(FileNotFoundException.java:57) at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:59) at java.io.FileInputStream.<init>(FileInputStream.java:90) at org.apache.xerces.impl.xs.XMLSchemaLoader.xsdToXMLInputSource(XMLSchemaLoader.java:647) at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:580) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489) at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:588) at org.apache.xerces.impl.xs.XMLSchemaLoader.loadSchema(XMLSchemaLoader.java:489) at org.apache.xerces.impl.xs.XMLSchemaLoader.processJAXPSchemaSource(XMLSchemaLoader.java:588) and is stuck in a recursive loop generating the exception Am wondering if an error was accidently introduced into the xerces-2_0_2 release or whether it is just me missing something but it works fine in 2_0_1 - and not in 2_0_2 any help would be appreciated Thank you - Dave Flanagan --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]