You are viewing a plain text version of this content. The canonical link for it is here.
Posted to batik-users@xmlgraphics.apache.org by "Bishop, Michael W. CONTR J9C880" <Mi...@je.jfcom.mil> on 2007/10/04 21:27:44 UTC

Error building SVN build (2007-10-03) with Java 1.4.

I believe it's because Node.getBaseURI() does not exist in Java 1.4,
only Java 1.5.

    [javac]                            ^
    [javac]
C:\projects\batik-1.7-2007-10-03\xml-batik\sources\org\apache\batik\
apps\svgbrowser\Main.java:1018: warning: decode(java.lang.String) in
java.net.UR
LDecoder has been deprecated
    [javac]
lastVisited.addElement(URLDecoder.decode(st.nextToke
n()));
    [javac]                                                  ^
    [javac]
C:\projects\batik-1.7-2007-10-03\xml-batik\sources\org\apache\batik\
bridge\SVGAElementBridge.java:213: cannot resolve symbol
    [javac] symbol  : method getBaseURI ()
    [javac] location: interface org.w3c.dom.svg.SVGAElement
    [javac]             ParsedURL purl = new ParsedURL(elt.getBaseURI(),
href);
    [javac]                                               ^
    [javac] 1 error
    [javac] 2 warnings

BUILD FAILED
C:\projects\batik-1.7-2007-10-03\xml-batik\build.xml:664: Compile
failed; see th
e compiler error output for details.

Michael Bishop

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org


Re: Error building SVN build (2007-10-03) with Java 1.4.

Posted by Cameron McCormack <ca...@mcc.id.au>.
Bishop, Michael W. CONTR J9C880:
> I believe it's because Node.getBaseURI() does not exist in Java 1.4,
> only Java 1.5.

Mea culpa, fix just committed.

-- 
Cameron McCormack, http://mcc.id.au/
	xmpp:heycam@jabber.org  ▪  ICQ 26955922  ▪  MSN cam@mcc.id.au

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xmlgraphics.apache.org
For additional commands, e-mail: batik-users-help@xmlgraphics.apache.org