I created https://issues.apache.org/jira/browse/JENA-152
thanks Simon From: Damian Steer <[email protected]> To: [email protected] Date: 11/01/2011 11:03 AM Subject: Re: XMLInputFactory#newFactory not available in OpenJDK 1.6 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 01/11/11 13:56, Simon Helsen wrote: > Hi guys, > > when I load the latest Jena2 project in an environment with an IBM > JDK 6, I run into a compile error in line 67 of StAX2SAX > > It seems that the method XMLInputFactory#newFactory() does not > exist. I cross-checked with OpenJDK 1.6 and it has the same > problem. Now, the method does exist in the Oracle JRE, but if you > use XMLInputFactory#newInstance(), it works in all environments > (where I double checked that the implementation for newInstance() > is identical to newFactory() in the Oracle JRE) Doh! > Is this something that could be addressed? Do you want me to open > an issue to track this? Yes please, although it won't be hard to fix. (Where did I get newFactory from?) Damian -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk6wCGwACgkQAyLCB+mTtymAAQCfQgq/9duDKekoJGR3bclGuAsO lEYAoIWpjvS9ezJzIXG4Cu/rCqmHk30x =5rD4 -----END PGP SIGNATURE-----
