logo       

RE: Xerces 1 use in XMLC: msg#00006

java.enhydra.xmlc

Subject: RE: Xerces 1 use in XMLC

> great work so far, thanks a lot!
>
> > The information may be off just a hair. There are two all inclusive
> > import. These will need to sorted out:
> >
> > import org.apache.xerces.dom.*;
> > import org.apache.html.dom.*;
>

Guys,
Here's a patch for those 2 files that import everything.... Hope it
helps....

BTW, my company is considering using XMLC, but the patched jtidy and
xerces jars are going to create us some problems. I know Denny Chambers
is looking into moving to xerces 2, but in the meantime I am considering
(warning: huge hack) renaming the xerces and jtidy packages in our xmlc
source repository so that other open source packages we use can safely
use the most recent versions of those....

I also would like to know if the gnu regexp jar file is needed? If so,
any particular reason you use 1.1.4 instead of 1.2 (latest stable
version on apache.org)?

Thanks,

Enrico.

------------------------------------------

diff -u -r1.4 WMLDOMImplementationImpl.java
---
xmlc/modules/wireless/src/org/enhydra/wireless/wml/dom/xerces/WMLDOMImpl
ementationImpl.java 7 Nov 2001 21:23:03 -0000 1.4
+++
xmlc/modules/wireless/src/org/enhydra/wireless/wml/dom/xerces/WMLDOMImpl
ementationImpl.java 18 Oct 2002 22:15:01 -0000
@@ -23,7 +23,8 @@

import org.w3c.dom.*;

-import org.apache.xerces.dom.*;
+import org.apache.xerces.dom.DOMImplementationImpl;
+import org.apache.xerces.dom.DocumentImpl;

import org.enhydra.wireless.wml.dom.*;

-------------------------------------

diff -u -r1.2 CHTMLDocumentImpl.java
---
xmlc/modules/wireless/src/org/enhydra/wireless/chtml/dom/xerces/CHTMLDoc
umentImpl.java 7 Nov 2001 21:22:54 -0000 1.2
+++
xmlc/modules/wireless/src/org/enhydra/wireless/chtml/dom/xerces/CHTMLDoc
umentImpl.java 18 Oct 2002 22:18:25 -0000
@@ -21,7 +21,37 @@
import java.util.HashMap;
import org.enhydra.wireless.chtml.dom.CHTMLDocument;
import org.w3c.dom.*;
-import org.apache.html.dom.*;
+import org.apache.html.dom.HTMLDocumentImpl;
+import org.apache.html.dom.HTMLUListElementImpl;
+import org.apache.html.dom.HTMLTitleElementImpl;
+import org.apache.html.dom.HTMLSelectElementImpl;
+import org.apache.html.dom.HTMLTextAreaElementImpl;
+import org.apache.html.dom.HTMLPreElementImpl;
+import org.apache.html.dom.HTMLParagraphElementImpl;
+import org.apache.html.dom.HTMLElementImpl;
+import org.apache.html.dom.HTMLAnchorElementImpl;
+import org.apache.html.dom.HTMLBaseElementImpl;
+import org.apache.html.dom.HTMLQuoteElementImpl;
+import org.apache.html.dom.HTMLBodyElementImpl;
+import org.apache.html.dom.HTMLBRElementImpl;
+import org.apache.html.dom.HTMLDirectoryElementImpl;
+import org.apache.html.dom.HTMLDivElementImpl;
+import org.apache.html.dom.HTMLDListElementImpl;
+import org.apache.html.dom.HTMLFontElementImpl;
+import org.apache.html.dom.HTMLFormElementImpl;
+import org.apache.html.dom.HTMLHeadingElementImpl;
+import org.apache.html.dom.HTMLHeadElementImpl;
+import org.apache.html.dom.HTMLHRElementImpl;
+import org.apache.html.dom.HTMLImageElementImpl;
+import org.apache.html.dom.HTMLInputElementImpl;
+import org.apache.html.dom.HTMLLIElementImpl;
+import org.apache.html.dom.HTMLMenuElementImpl;
+import org.apache.html.dom.HTMLMetaElementImpl;
+import org.apache.html.dom.HTMLOListElementImpl;
+import org.apache.html.dom.HTMLOptionElementImpl;
+import org.apache.html.dom.HTMLHtmlElementImpl;
+
+
import java.lang.reflect.Constructor;

/**


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise