[ http://jira.codehaus.org/browse/MAVEN-1632?page=all ] Brett Porter closed MAVEN-1632: -------------------------------
Resolution: Fixed Fix Version: 1.1-beta-1 1.1-beta-1 uses the JDK XML Parser. You can also remove the endorsed directory entirely in 1.0.2, the javax.* system properties in the startup script and the endorsed entries in forehead.conf. > Problem with new XML APIs > ------------------------- > > Key: MAVEN-1632 > URL: http://jira.codehaus.org/browse/MAVEN-1632 > Project: maven > Type: Bug > Versions: 1.0.2 > Environment: Mac OS X 10.4.1 > Reporter: Jon Dokulil > Fix For: 1.1-beta-1 > > > When compiling a class which makes a call to > org.w3c.dom.Document.setXmlStandalone (part of the DOM Level 3 API, first > packaged with J2SE 5.0) I am getting an error that javac cannot find the > symbol setXmlStandalone(boolean). The error comes about because > $MAVEN_HOME/lib/endorsed/xml-apis-1.0.b2.jar comes before the J2SE 5.0 > classes.jar (on Mac OS X, usually rt.jar on other operating systems) on the > classpath. This goes back to a problem of Maven using Xerces, which does not > support the latest W3C spec. > A dirty dirty short-term fix that worked for me is to replace > $MAVEN_HOME/lib/endorsed/xml-apis-1.0.b2.jar with a symbolic link to the > classes.jar/rt.jar file. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]