logo       

Re[2]: Xerces 1 use in XMLC: msg#00007

java.enhydra.xmlc

Subject: Re[2]: Xerces 1 use in XMLC

Hello Enrico,

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

on apache.org? gnu-regexp is a gnu project, not an apache project. I
think you are talking about Jakarta's reguular expressions package.
Totally different, although there isn't any reason we couldn't use
that. It is just that we use the gnu package instead.

EB> is looking into moving to xerces 2, but in the meantime I am considering
EB> (warning: huge hack) renaming the xerces and jtidy packages in our xmlc
EB> source repository so that other open source packages we use can safely
EB> use the most recent versions of those....

What do you mean "considering renaming"? You can rename the jar
files to anything you want. Call the jtidy package
"mycoolpackage.jar". It doesn't make a difference. A jar file is
akin to a directory. You point your classpath to the directory. The
name of that directory doesn't matter, it is what is inside....or am I
totally missing your point?



Friday, October 18, 2002, 5:18:24 PM, you wrote:

>> 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.*;
>>

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

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

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

EB> Thanks,

EB> Enrico.

EB> ------------------------------------------

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

EB> import org.w3c.dom.*;

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

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

EB> -------------------------------------

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

EB> /**

EB> _______________________________________________
EB> XMLC mailing list
EB> XMLC@xxxxxxxxxxx
EB> http://www.enhydra.org/mailman/listinfo.cgi/xmlc



--
Best regards,
Jacob mailto:hoju@xxxxxxxx


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

News | FAQ | advertise