cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lennart Olsson <lennart.ols...@tim.se>
Subject Problem compiling C2 on Mac OS X
Date Fri, 04 May 2001 18:12:40 GMT
Hi,

I'm trying to compile Cocoon2 on Mac OS X 10.0.2 according to Cocoon2 
INSTALL instructions, but get errors concerning org.w3c.dom.* as seen 
below.

Is this a Mac OS X problem, or just me being new to Java and Cocoon? 
Any hints are appreciated.

Thanks,
Lennart

>compile:
>Compiling 5 source files to /Users/lon/Desktop/xml-cocoon/build/cocoon/classes
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/comp 
>onents/parser/JaxpParser.java:110: Method 
>createDocumentType(java.lang.String, java.lang.String, 
>java.lang.String) not found in interface 
>org.w3c.dom.DOMImplementation.
>            impl.createDocumentType(name, publicId, systemId)
>                                   ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMBuilder.java:203: Method importNode(org.w3c.dom.Node, 
>boolean) not found in interface org.w3c.dom.Document.
>                doc.appendChild(doc.importNode(list.item(x),true));
>                                              ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMBuilder.java:283: Method createElementNS(java.lang.String, 
>java.lang.String) not found in interface org.w3c.dom.Document.
>        Element e=this.document.createElementNS(n.getUri(),n.getQName());
>                                               ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMBuilder.java:294: Method setAttributeNS(java.lang.String, 
>java.lang.String, java.lang.String) not found in interface 
>org.w3c.dom.Element.
>                e.setAttributeNS(auri,k.getQName(),aval);
>                                ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:160: Method getPublicId() not found in 
>interface org.w3c.dom.DocumentType.
> 
>super.lexicalHandler.startDTD(n.getName(),n.getPublicId(),n.getSystemI 
>d());
>                                                               ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:160: Method getSystemId() not found in 
>interface org.w3c.dom.DocumentType.
> 
>super.lexicalHandler.startDTD(n.getName(),n.getPublicId(),n.getSystemI 
>d());
> 
>^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:179: Method getNamespaceURI() not found in 
>interface org.w3c.dom.Attr.
>            String uri=a.getNamespaceURI(); uri=(uri==null)?"":uri;
>                                        ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:180: Method getPrefix() not found in interface 
>org.w3c.dom.Attr.
>            String pre=a.getPrefix();       pre=(pre==null)?"":pre;
>                                  ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:181: Method getLocalName() not found in 
>interface org.w3c.dom.Attr.
>            String loc=a.getLocalName();    loc=(loc==null)?"":loc;
>                                     ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:195: Method getNamespaceURI() not found in 
>interface org.w3c.dom.Element.
>        String uri=n.getNamespaceURI(); uri=(uri==null)?"":uri;
>                                    ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:196: Method getPrefix() not found in interface 
>org.w3c.dom.Element.
>        String pre=n.getPrefix();       pre=(pre==null)?"":pre;
>                              ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/DOMStreamer.java:197: Method getLocalName() not found in 
>interface org.w3c.dom.Element.
>        String loc=n.getLocalName();    loc=(loc==null)?"":loc;
>                                 ^
>/Users/lon/Desktop/xml-cocoon/build/cocoon/src/org/apache/cocoon/xml/ 
>dom/SVGBuilder.java:85: Method createDocument(java.lang.String, 
>java.lang.String, null) not found in interface 
>org.w3c.dom.DOMImplementation.
>            this.document = 
>implementation.createDocument(namespaceURI, "svg", null);
>                                                         ^
>13 errors

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message