You are viewing a plain text version of this content. The canonical link for it is here.
Posted to p-dev@xerces.apache.org by "Eric J. Peters" <er...@sammg.com> on 2000/12/07 19:08:33 UTC

Xerces.pm with Xerces 1.3 and ICU 1.6

Hi all-

        First, I'm trying to find Tom Watson (rtwatson@us.ibm.com) who 
seemingly is the original author of the xerces-p code I grabbed from
xml.apache.org - his email was returned to me.  If anybody knows his
new address (or if he's reading this) please let me know so I can talk to
him about this code.  Thanks.

        Now for the goodies.  I have modified his code so that it runs, well
I think, under RedHat Linux 6.2, with Perl 5.6.0, ICU 1.6, and Xerces 1.3.0.
I built it with Swig 1.3a3.  I have not tested this at all under Win32, so I
can almost guarantee that I have broken his original code, (I will try to get
that done soon), and I have not done much testing of it in general, but the
samples that were included seemed to work decently.

        I'm attaching diffs in hopes that others might find this useful.  I
based the diffs on the CVS repository as of 12/07/2000 - but I have not 
commited any code.  (Actually, I *cannot* commit any code.  But I *would not*
commit this code until I fixed the Windows breakage that I'm sure I caused.)
The attached is generated from CVS diff and a little addendum of the new 
Makefile.PL that was "added to the project".

        As a final note, I'd love it if somebody can tell me how I can become
an active contributor/developer for this project.  I'm not really wanting to 
sit around on my tush and wait and watch others code when I am capable and
willing to help out.  I'd love to assist with this project - how do I sign up?

        Thanks,
        -Eric.


Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by Mike Pogue <mp...@apache.org>.
Tom is now at Portal Software, but I don't have his email address handy...

Mike

----- Original Message -----
From: "Eric J. Peters" <er...@sammg.com>
To: <xe...@xml.apache.org>
Sent: Thursday, December 07, 2000 10:08 AM
Subject: Xerces.pm with Xerces 1.3 and ICU 1.6


> Hi all-
>
>         First, I'm trying to find Tom Watson (rtwatson@us.ibm.com) who
> seemingly is the original author of the xerces-p code I grabbed from
> xml.apache.org - his email was returned to me.  If anybody knows his
> new address (or if he's reading this) please let me know so I can talk to
> him about this code.  Thanks.
>
>         Now for the goodies.  I have modified his code so that it runs,
well
> I think, under RedHat Linux 6.2, with Perl 5.6.0, ICU 1.6, and Xerces
1.3.0.
> I built it with Swig 1.3a3.  I have not tested this at all under Win32, so
I
> can almost guarantee that I have broken his original code, (I will try to
get
> that done soon), and I have not done much testing of it in general, but
the
> samples that were included seemed to work decently.
>
>         I'm attaching diffs in hopes that others might find this useful.
I
> based the diffs on the CVS repository as of 12/07/2000 - but I have not
> commited any code.  (Actually, I *cannot* commit any code.  But I *would
not*
> commit this code until I fixed the Windows breakage that I'm sure I
caused.)
> The attached is generated from CVS diff and a little addendum of the new
> Makefile.PL that was "added to the project".
>
>         As a final note, I'd love it if somebody can tell me how I can
become
> an active contributor/developer for this project.  I'm not really wanting
to
> sit around on my tush and wait and watch others code when I am capable and
> willing to help out.  I'd love to assist with this project - how do I sign
up?
>
>         Thanks,
>         -Eric.
>
>


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


> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org


Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Jason E. Stewart" <ja...@cs.unm.edu>.
Hey Eric,

The first obvious thing is that your tarball must be based off of Tom
Watson's original work and not off Harmon's work. We need to unify
this ASAP. 

Tom's original code only supports DOM. Harmon's supports the entire
API, and I believe that should be the one that we spend our time
working on.

jas.

"Eric J. Peters" <er...@sammg.com> writes:

> Well, here it is.  I would much prefer the appropriate person(s) let me know
> what the procedure is to get this into the repository - or into the hands of
> the person who can get it in the repository.

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Eric J. Peters" <er...@sammg.com>.
On Fri, 15 Dec 2000, Mike Pogue wrote:

> :-)  It has to be existing committers, I think...

I thought I had read that it had to be committers somewhere...  But I'm not sure
either.  If not, please count my +1.

        -Eric.

> You have my vote as an existing committer!  +1
> 
> Mike
> 
> ----- Original Message ----- 
> From: "Jason E. Stewart" <ja...@cs.unm.edu>
> To: <xe...@xml.apache.org>
> Cc: <er...@sammg.com>
> Sent: Friday, December 15, 2000 8:50 PM
> Subject: Re: Xerces.pm with Xerces 1.3 and ICU 1.6
> 
> 
> > "Mike Pogue" <mp...@apache.org> writes:
> > 
> > > To make a new committer, we need 3 +1 votes, and no -1 votes.
> > > Then, I can have the account setup!  I think it would be great to
> > > have somebody actively making good things happen with Xerces-P!
> > 
> > 
> > Hey Mike,
> > 
> > If I can vote for myself, then make that:
> > 
> >  +1
> > 
> > If not, oh well....
> > 
> > jas.
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by Mike Pogue <mp...@apache.org>.
:-)  It has to be existing committers, I think...

You have my vote as an existing committer!  +1

Mike

----- Original Message ----- 
From: "Jason E. Stewart" <ja...@cs.unm.edu>
To: <xe...@xml.apache.org>
Cc: <er...@sammg.com>
Sent: Friday, December 15, 2000 8:50 PM
Subject: Re: Xerces.pm with Xerces 1.3 and ICU 1.6


> "Mike Pogue" <mp...@apache.org> writes:
> 
> > To make a new committer, we need 3 +1 votes, and no -1 votes.
> > Then, I can have the account setup!  I think it would be great to
> > have somebody actively making good things happen with Xerces-P!
> 
> 
> Hey Mike,
> 
> If I can vote for myself, then make that:
> 
>  +1
> 
> If not, oh well....
> 
> jas.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
> 


Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Parand T. Darugar" <td...@velocigen.com>.
> If I can vote for myself, then make that:
> 
>  +1

+1 from me.

Best,

Parand Tony Darugar

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Jason E. Stewart" <ja...@cs.unm.edu>.
"Mike Pogue" <mp...@apache.org> writes:

> To make a new committer, we need 3 +1 votes, and no -1 votes.
> Then, I can have the account setup!  I think it would be great to
> have somebody actively making good things happen with Xerces-P!


Hey Mike,

If I can vote for myself, then make that:

 +1

If not, oh well....

jas.


Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by Mike Pogue <mp...@apache.org>.
To make a new committer, we need 3 +1 votes, and no -1 votes.
Then, I can have the account setup!  I think it would be great to
have somebody actively making good things happen with Xerces-P!

Mike

----- Original Message -----
From: "Jason E. Stewart" <ja...@cs.unm.edu>
To: <xe...@xml.apache.org>
Cc: <er...@sammg.com>
Sent: Thursday, December 14, 2000 9:15 AM
Subject: Re: Xerces.pm with Xerces 1.3 and ICU 1.6


> I believe that after Tom Watson stepped down as the project leader for
> Xerces Perl, Harmon Nine volunteered (was volunteered???) to take over
> as leader of the project. As such he is the only person with commit
> access to the repository.
>
> If I understand the apache procedure correctly (Mike Pogue can correct
> me if I'm wrong) We, as a group, can vote to bestoy commit priveleges
> to others.
>
> I have been very side-tracked in the past months and haven't had the
> time to invest in getting Xerces-perl moving. I needed a different
> solution. Now I would like to come back and start offering some cycles
> to the project.
>
> I am volunteering to get all the work into the CVS repository,
> starting with Harmon's xerces-1.1.0 and then Eric's work. I have 6
> years experience managing cvs repositories, and am currently mainainer
> of two projects on sourceforge.
>
> How do people feel about this? Harmon? Mike?
>
> jas.
>
> "Eric J. Peters" <er...@sammg.com> writes:
>
> > [1  <text/plain; us-ascii (7bit)>]
> > On Wed, 13 Dec 2000, Jason E. Stewart wrote:
> >
> > > Hi Eric,
> > >
> > > Thanks for the work. Could you please email me the tarball? Actually,
> > > it's not like the list is exactly crushing under the weight of all the
> > > traffic, so I think you could post to the list as well...
> > >
> > > jas.
> >
> >
> > Well, here it is.  I would much prefer the appropriate person(s) let me
know
> > what the procedure is to get this into the repository - or into the
hands of
> > the person who can get it in the repository.
> >
> >         -Eric.
> >
> >
> > >
> > > "Eric J. Peters" <er...@sammg.com> writes:
> > >
> > > >     I have a new tarball ready to send to anybody who asks for it,
but I'm not
> > > > going to continue to clutter this maillist with updates.  I'd be
happy to
> > > > submit code directly to the repository, or to somebody else to
manage, but I
> > > > have not had any feedback on who's in charge of the xerces-perl
project or how
> > > > to get access to the repository.  If anybody has information on
this, please
> > > > share it with me.
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> > > For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
> > [2 xerces-p.tar.gz <application/x-gzip>]
> >
> > [3  <text/plain; us-ascii (7bit)>]
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
>


Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Jason E. Stewart" <ja...@cs.unm.edu>.
I believe that after Tom Watson stepped down as the project leader for
Xerces Perl, Harmon Nine volunteered (was volunteered???) to take over
as leader of the project. As such he is the only person with commit
access to the repository.

If I understand the apache procedure correctly (Mike Pogue can correct
me if I'm wrong) We, as a group, can vote to bestoy commit priveleges
to others.

I have been very side-tracked in the past months and haven't had the
time to invest in getting Xerces-perl moving. I needed a different
solution. Now I would like to come back and start offering some cycles
to the project.

I am volunteering to get all the work into the CVS repository,
starting with Harmon's xerces-1.1.0 and then Eric's work. I have 6
years experience managing cvs repositories, and am currently mainainer
of two projects on sourceforge.

How do people feel about this? Harmon? Mike?

jas.

"Eric J. Peters" <er...@sammg.com> writes:

> [1  <text/plain; us-ascii (7bit)>]
> On Wed, 13 Dec 2000, Jason E. Stewart wrote:
> 
> > Hi Eric,
> > 
> > Thanks for the work. Could you please email me the tarball? Actually,
> > it's not like the list is exactly crushing under the weight of all the
> > traffic, so I think you could post to the list as well...
> > 
> > jas.
> 
> 
> Well, here it is.  I would much prefer the appropriate person(s) let me know
> what the procedure is to get this into the repository - or into the hands of
> the person who can get it in the repository.
> 
>         -Eric.
> 
> 
> > 
> > "Eric J. Peters" <er...@sammg.com> writes:
> > 
> > >     I have a new tarball ready to send to anybody who asks for it, but I'm not
> > > going to continue to clutter this maillist with updates.  I'd be happy to 
> > > submit code directly to the repository, or to somebody else to manage, but I 
> > > have not had any feedback on who's in charge of the xerces-perl project or how
> > > to get access to the repository.  If anybody has information on this, please
> > > share it with me.
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> > For additional commands, e-mail: xerces-p-dev-help@xml.apache.org
> [2 xerces-p.tar.gz <application/x-gzip>]
> 
> [3  <text/plain; us-ascii (7bit)>]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Eric J. Peters" <er...@sammg.com>.
On Wed, 13 Dec 2000, Jason E. Stewart wrote:

> Hi Eric,
> 
> Thanks for the work. Could you please email me the tarball? Actually,
> it's not like the list is exactly crushing under the weight of all the
> traffic, so I think you could post to the list as well...
> 
> jas.


Well, here it is.  I would much prefer the appropriate person(s) let me know
what the procedure is to get this into the repository - or into the hands of
the person who can get it in the repository.

        -Eric.


> 
> "Eric J. Peters" <er...@sammg.com> writes:
> 
> >     I have a new tarball ready to send to anybody who asks for it, but I'm not
> > going to continue to clutter this maillist with updates.  I'd be happy to 
> > submit code directly to the repository, or to somebody else to manage, but I 
> > have not had any feedback on who's in charge of the xerces-perl project or how
> > to get access to the repository.  If anybody has information on this, please
> > share it with me.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Jason E. Stewart" <ja...@cs.unm.edu>.
Hi Eric,

Thanks for the work. Could you please email me the tarball? Actually,
it's not like the list is exactly crushing under the weight of all the
traffic, so I think you could post to the list as well...

jas.

"Eric J. Peters" <er...@sammg.com> writes:

>     I have a new tarball ready to send to anybody who asks for it, but I'm not
> going to continue to clutter this maillist with updates.  I'd be happy to 
> submit code directly to the repository, or to somebody else to manage, but I 
> have not had any feedback on who's in charge of the xerces-perl project or how
> to get access to the repository.  If anybody has information on this, please
> share it with me.

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Eric J. Peters" <er...@sammg.com>.
Hi all-

    I have found and fixed a couple little bugs today:

        * DOM::Attr::setSpecified was removed from Xerces 1.3, calling
          the Perl stub caused an error.  I have removed this function as
          was indicated correct by the Xerces code.

        * DOM::CharacterData::setData was calling an undefined function.  I
          found an appropriate substitute and fixed the call.

    I have also started looking into the following issues:

        * DOM::Document::importNode fails with incorrect results.
        * DOMPARSE::doc functions incorrectly.  I believe the error is 
          actually in DOM::Node::getParentNode.
        * DOM::Document::getElementsByTagName segfaults if parameter
          is not found.
        * DOM::DocumentType::getName segfaults if the name is undefined (NULL?)
        * DOM::NodeList::item segfaults if index is out of bounds
        * DOM::Parser is totally undocumented.

    I have a new tarball ready to send to anybody who asks for it, but I'm not
going to continue to clutter this maillist with updates.  I'd be happy to 
submit code directly to the repository, or to somebody else to manage, but I 
have not had any feedback on who's in charge of the xerces-perl project or how
to get access to the repository.  If anybody has information on this, please
share it with me.

    Oh, and I have not yet tested this on Win32.  I will do so if and when it
looks like it might get in the repository.  I'd love some assistance in this 
area if anybody would like to volunteer!


Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Eric J. Peters" <er...@sammg.com>.
Well, moving on with this code, I have found numerous errors.  I'm fixing what
I find as I find it, but I still have no formal procedure to submit my changes
to the repository, so other cannot easily access it.  So, I have a tarball of
the code right now sitting here waiting to be mailed to any who wants it.
Just ask for the xerces-p tarball at: erpeters@sammg.com

It compiles well, runs great, and when it doesn't the fixes are pretty simple.
I'm planning on finishing testing all the existing api calls over the next few
weeks, and I'll audit the code against the xerces-c library and/or do some
profiling after that.

        Enjoy,
        -Eric.


On Thu, 07 Dec 2000, Eric J. Peters wrote:

> Hi all-
> 
>         First, I'm trying to find Tom Watson (rtwatson@us.ibm.com) who 
> seemingly is the original author of the xerces-p code I grabbed from
> xml.apache.org - his email was returned to me.  If anybody knows his
> new address (or if he's reading this) please let me know so I can talk to
> him about this code.  Thanks.
> 
>         Now for the goodies.  I have modified his code so that it runs, well
> I think, under RedHat Linux 6.2, with Perl 5.6.0, ICU 1.6, and Xerces 1.3.0.
> I built it with Swig 1.3a3.  I have not tested this at all under Win32, so I
> can almost guarantee that I have broken his original code, (I will try to get
> that done soon), and I have not done much testing of it in general, but the
> samples that were included seemed to work decently.
> 
>         I'm attaching diffs in hopes that others might find this useful.  I
> based the diffs on the CVS repository as of 12/07/2000 - but I have not 
> commited any code.  (Actually, I *cannot* commit any code.  But I *would not*
> commit this code until I fixed the Windows breakage that I'm sure I caused.)
> The attached is generated from CVS diff and a little addendum of the new 
> Makefile.PL that was "added to the project".
> 
>         As a final note, I'd love it if somebody can tell me how I can become
> an active contributor/developer for this project.  I'm not really wanting to 
> sit around on my tush and wait and watch others code when I am capable and
> willing to help out.  I'd love to assist with this project - how do I sign up?
> 
>         Thanks,
>         -Eric.
> 

> Index: DOMParser2.cpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/DOMParser2.cpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 DOMParser2.cpp
> 57a58,73
> > /**
> >  *
> >  * DOMParser2.cpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog and changed the include line to use '/'
> >  *        rather than '\' for a Linux port.  This should agree with Win32
> >  *        builds.
> >  *
> >  **/
> > 
> 59c75
> < #include <parsers\DOMParser.hpp>
> ---
> > #include <parsers/DOMParser.hpp>
> 
> 
> Index: DOMParser2.hpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/DOMParser2.hpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 DOMParser2.hpp
> 57a58,72
> > /**
> >  *
> >  * DOMParser2.hpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog and changed the include line to use '/'
> >  *        rather than '\' for a Linux port.  This should agree with Win32
> >  *        builds.
> >  *
> >  **/
> 59c74,75
> < #include "dom\DOM_Document.hpp"
> ---
> > 
> > #include "dom/DOM_Document.hpp"
> 
> 
> Index: DOMString2.cpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/DOMString2.cpp,v
> retrieving revision 1.2
> diff -r1.2 DOMString2.cpp
> 57a58,76
> > /**
> >  *
> >  * api/DOM_Attr.hpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog.
> >  *      - The icu 1.6 library apparently changed the signature for the 
> >  *        ucnv_fromUChars function.  It now requires (appropriately, IMHO)
> >  *        the source length to be provided.  I am attempting to send that
> >  *        data, however I'm very new to the project.  Please critique the 2
> >  *        lines commented 'erpeters@sammg.com' below...
> >  *
> >  **/
> > 
> 157c176,186
> < 	dstLen = ucnv_fromUChars (converter, fCharBuffer, dstLen, srcString, &err);
> ---
> > 
> >         /*
> >          * erpeters@sammg.com:
> >          *
> >          * I'm not sure if this is totally correct, I'll dig into it a bit
> >          * more later:
> >          */
> > 	dstLen = ucnv_fromUChars(converter, 
> >                                  fCharBuffer, dstLen,
> >                                  srcString, this->length(),
> >                                  &err);
> 164c193,204
> < 	ucnv_fromUChars (converter, fCharBuffer, dstLen+1, srcString, &err);
> ---
> > 
> >         /*
> >          * erpeters@sammg.com:
> >          *
> >          * I'm not sure if this is totally correct, I'll dig into it a bit
> >          * more later:
> >          */
> > 	ucnv_fromUChars(converter, 
> >                         fCharBuffer, dstLen+1, 
> >                         srcString, this->length(),
> >                         &err);
> > 
> 
> 
> Index: DOMString2.hpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/DOMString2.hpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 DOMString2.hpp
> 57a58,72
> > /**
> >  *
> >  * DOMString2.hpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog and changed the include line to use '/'
> >  *        rather than '\' for a Linux port.  This should agree with Win32
> >  *        builds.
> >  *
> >  **/
> 59c74,75
> < #include <DOM/DOMString.hpp>
> ---
> > 
> > #include <dom/DOMString.hpp>
> 
> 
> Index: README
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/README,v
> retrieving revision 1.2
> diff -r1.2 README
> 1d0
> < Xerces Perl DOM
> 3d1
> < BUILD REQUIREMENTS:
> 5,35c3,39
> < 1.	SWIG - (Simplified Wrapper and Interface
> < 	Generator) An open source tool by David Beazley
> < 	of the University of Chicago for automatically 
> < 	generating Perl wrappers for C and C++ DLLs.
> < 	You can get the source from www.swig.org and
> < 	then build for your platform.
> < 
> < 2.	MSVC++ (the Microsoft Visual C++ compiler and
> < 	development environment) version 6 (but 5
> < 	should also work).  Note that this project is
> < 	intended to be portable to other (non-Windows)
> < 	platforms.  But I have only built it on Windows
> < 	so far. Contributions are welcome in this area!
> < 
> < 3.	Perl5 experimental version 5.00560 which has
> < 	Unicode support.  You can also build this 
> < 	project and use it with earlier released Perl5 
> < 	versions, but you will not be able to read in 
> < 	and work with XML documents that are not encoded 
> < 	in plain old ASCII.  If you intend to use a
> < 	released version of Perl, read the note on this
> < 	below.
> < 
> < 4.	The XmlApache Xerces C++ XML Parser version 3.
> < 	You will need to build this first and set up
> < 	your environment too, so that the resulting
> < 	DLL is in your path.
> < 
> < 5.	ICU (International Components for Unicode). Get 
> < 	this from www.ibm.com\developerWorks and build it.  
> < 	Add the resulting DLL to your PATH.   
> ---
> > 
> >                     Xerces Perl DOM
> > 
> > 
> > 
> > General Build Requirements:
> > 
> > 1.   SWIG - (Simplified Wrapper and Interface
> >      Generator) An open source tool by David Beazley
> >      of the University of Chicago for automatically 
> >      generating Perl wrappers for C and C++ DLLs.
> >      You can get the source from www.swig.org and
> >      then build for your platform.
> > 
> >      Current Version: 1.3a3
> > 
> > 2.   Perl5 experimental version 5.00560 which has
> >      Unicode support.  You can also build this 
> >      project and use it with earlier released Perl5 
> >      versions, but you will not be able to read in 
> >      and work with XML documents that are not encoded 
> >      in plain old ASCII.  If you intend to use a
> >      released version of Perl, read the note on this
> >      below.
> > 
> >      Current Version: 5.6.0
> > 
> > 3.   The XmlApache Xerces C++ XML Parser version 3.
> >      You will need to build this first and set up
> >      your environment too, so that the resulting
> >      DLL is in your path.
> > 
> >      Current Version: 1.3.0
> > 
> > 4.   ICU (International Components for Unicode). Get 
> >      this from www.ibm.com\developerWorks and build it.  
> >      Add the resulting DLL to your PATH.   
> 36a41,60
> >      Current Version: 1.6
> > 
> > 5a.  Win32 Specific Build Requirements:
> > 
> >      1.   MSVC++ (the Microsoft Visual C++ compiler and
> >           development environment) version 6 (but 5
> >           should also work).  Note that this project is
> >           intended to be portable to other (non-Windows)
> >           platforms.  But I have only built it on Windows
> >           so far. Contributions are welcome in this area!
> > 
> >           Current Version: 6.0SP4
> > 
> > 5b.  Linux Specific Build Requirements:
> > 
> >      1.   RedHat Linux 6.2 with egcs-2.91.66 and GNU Make 
> >           version 3.78.1.  There are certainly more requirements 
> >           here, which should be added as noted.
> > 
> > 
> 40c64,67
> < 1.	Go to the ...\xerces\perl\ directory.
> ---
> > 1.      Be sure the following are defined in your shell
> >         environment:
> > 
> >            * ICU_ROOT
> 42,46d68
> < 2.	Examine the Perl script "makefile.pl".  You may
> < 	need to change some locations of libraries and
> < 	include directories.  If you attempt to build
> < 	on a platform other that Windows, you will 
> < 	probably have to change more.
> 70c92,93
> < 	nmake
> ---
> >         Win32:   nmake
> >         Linux:   make
> 
> 
> Index: STATUS
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/STATUS,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 STATUS
> 1c1,2
> < If you are an expert in any of the following areas ... PLEASE jump in.
> ---
> > MOTD:
> >    If you are an expert in any of the following areas ... PLEASE jump in.
> 5,13c6,14
> < 
> < 1. Get to work on other (non-windows) platforms:
> < 
> < - Linux
> < - FreeBSD
> < - Solaris
> < - HP-UX
> < - AIX
> < - Mac
> ---
> >    1. Known working platforms:
> >       - Win32
> >       - Linux
> >    2. Get to work on other (non-windows) platforms:
> >       - FreeBSD
> >       - Solaris
> >       - HP-UX
> >       - AIX
> >       - Mac
> 17,19c18,20
> < 
> < 1. Replace DOMParser2 internal helper with a formal DOMParser SWIG wrapper.
> < 2. Change exception catching to use const references when C++ DOM fixes associated bug.
> ---
> >    1. Replace DOMParser2 internal helper with a formal DOMParser SWIG wrapper.
> >    2. Change exception catching to use const references when C++ DOM fixes 
> >       associated bug.
> 23,30c24,30
> < 
> < 1. Track experimental build (5.00560) to release.
> < 2. Improve makefile.pl (I am far from an expert in this area).
> < 
> < - better platform independence
> < - better partitioning of source from binaries
> < - ability to autoload xml4c and icu libraries transparently
> < - general Perl sanity checking (this was my first Perl project ... I'm sure it can be better)
> ---
> >    1. Track experimental build (5.00560) to release.
> >    2. Improve makefile.pl (I am far from an expert in this area).
> >       - better platform independence
> >       - better partitioning of source from binaries
> >       - ability to autoload xml4c and icu libraries transparently
> >       - general Perl sanity checking (this was my first Perl project ... I'm 
> >         sure it can be better)
> 34,36c34,35
> < 
> < 1. Complete test suite to test all APIs.
> < 2. Performance analysys and improvements.
> ---
> >    1. Complete test suite to test all APIs.
> >    2. Performance analysys and improvements.  (../metrics)
> 40,41c39
> < 
> < ????
> ---
> >    1. Do it.
> 44a43
> >    1. Do more.
> 46d44
> < ????
> 
> 
> Index: api/DOM_Attr.hpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/api/DOM_Attr.hpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 DOM_Attr.hpp
> 57a58,74
> > /**
> >  *
> >  * api/DOM_Attr.hpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog.
> >  *      - The xerces 1.3 library doesn't define setSpecified anymore.  I
> >  *        have removed it from here.
> >  *
> >  **/
> > 
> > 
> 65c82
> <     void            setSpecified (bool spec);
> ---
> > #    void            setSpecified (bool spec);
> 
> 
> Index: api/DOM_Entity.hpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/api/DOM_Entity.hpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 DOM_Entity.hpp
> 57a58,74
> > /**
> >  *
> >  * api/DOM_Attr.hpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog.
> >  *      - The xerces 1.3 library doesn't define setNotationName, setPublicId,
> >  *        or setSystemId anymore.  I have removed them from here.
> >  *
> >  **/
> > 
> > 
> 66,68c83,85
> < 	void			setNotationName (const DOMString &name);
> < 	void			setPublicId (const DOMString &Id);
> < 	void			setSystemId (const DOMString &Id);
> ---
> > #	void			setNotationName (const DOMString &name);
> > #	void			setPublicId (const DOMString &Id);
> > #	void			setSystemId (const DOMString &Id);
> 
> 
> Index: api/DOM_Notation.hpp
> ===================================================================
> RCS file: /home/cvspublic/xml-xerces/perl/api/DOM_Notation.hpp,v
> retrieving revision 1.1.1.1
> diff -r1.1.1.1 DOM_Notation.hpp
> 57a58,74
> > /**
> >  *
> >  * api/DOM_Attr.hpp
> >  *
> >  * Contributors:
> >  *    * Original contributors unknown.
> >  *    * Eric J. Peters (erpeters@sammg.com)
> >  *
> >  * Change Log:
> >  *    * 12/07/2000 erpeters@sammg.com
> >  *      - I added this changelog.
> >  *      - The xerces 1.3 library doesn't define setPublicId,
> >  *        or setSystemId anymore.  I have removed them from here.
> >  *
> >  **/
> > 
> > 
> 65,66c82,83
> <     void             setPublicId (const DOMString &id);
> <     void             setSystemId (const DOMString &id);
> ---
> > #    void             setPublicId (const DOMString &id);
> > #    void             setSystemId (const DOMString &id);
> 
> 
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> I removed makefile.pl and added the file Makefile.PL.  The latter is
> listed below:
> 
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 
> 
> ######################################################################
> #
> # The Apache Software License, Version 1.1
> # 
> # Copyright (c) 1999 The Apache Software Foundation.  All rights 
> # reserved.
> # 
> # Redistribution and use in source and binary forms, with or without
> # modification, are permitted provided that the following conditions
> # are met:
> # 
> # 1. Redistributions of source code must retain the above copyright
> #    notice, this list of conditions and the following disclaimer. 
> # 
> # 2. Redistributions in binary form must reproduce the above copyright
> #    notice, this list of conditions and the following disclaimer in
> #    the documentation and/or other materials provided with the
> #    distribution.
> # 
> # 3. The end-user documentation included with the redistribution,
> #    if any, must include the following acknowledgment:  
> #       "This product includes software developed by the
> #        Apache Software Foundation (http://www.apache.org/)."
> #    Alternately, this acknowledgment may appear in the software itself,
> #    if and wherever such third-party acknowledgments normally appear.
> # 
> # 4. The names "Xerces" and "Apache Software Foundation" must
> #    not be used to endorse or promote products derived from this
> #    software without prior written permission. For written 
> #    permission, please contact apache\@apache.org.
> # 
> # 5. Products derived from this software may not be called "Apache",
> #    nor may "Apache" appear in their name, without prior written
> #    permission of the Apache Software Foundation.
> # 
> # THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
> # WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
> # OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
> # DISCLAIMED.  IN NO EVENT SHALL THE APACHE SOFTWARE FOUNDATION OR
> # ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
> # SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
> # LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
> # USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
> # ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
> # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
> # OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
> # SUCH DAMAGE.
> # ====================================================================
> # 
> # This software consists of voluntary contributions made by many
> # individuals on behalf of the Apache Software Foundation, and was
> # originally based on software copyright (c) 1999, International
> # Business Machines, Inc., http://www.ibm.com .  For more information
> # on the Apache Software Foundation, please see
> # <http://www.apache.org/>.
> #
> ######################################################################
> 
> 
> use strict;
> use ExtUtils::MakeMaker;
> 
> ##############################
> #
> #   AUTHOR => 'Tom Watson (rtwatson@us.ibm.com)';
> #   AUTHOR => 'Eric Peters (erpeters@sammg.com)';
> #
> #   CHANGELOG =>
> #
> #      12/05/2000 erpeters@sammg.com
> #         I made numerous changes to Makefile.PL so that the constants
> #         are sucked in from the environment.  I left the defaults in
> #         Win32-ish mode, but I haven't tested them.  I put the details
> #         of the new ENV in README.
> #
> ##############################
> 
> # grab environment variables:
> 
> # System data:
> my $OS               = $ENV{XERCES_OS} 
>                         || "Win32";
> my $EXT              = "obj";
> if($OS eq "Linux") {
>     $EXT             = "o";
> }
> my $PERL_LIB_DIR     = $ENV{PERL_LIB} 
>                         || "c:/perl/5.00560/lib/mswin32-x86/CORE";
> # ICU data:
> my $ICU_ROOT         = $ENV{ICU_ROOT} 
>                         || "e:/xmlapache/xerces/c/include/icu";
> 
> # Xerces data:
> my $XERCES_C_ROOT    = $ENV{XERCES_C_ROOT} 
>                         || "e:/xmlapache/xerces/c";
> my $INST_LIB_DIR     = $ENV{XERCES_INST_PERL_LIB_DIR} 
>                         || $PERL_LIB_DIR;
> my $XERCES_CC        = $ENV{XERCES_CC} 
>                         || "cc";
> my $XERCES_CFLAGS    = $ENV{XERCES_CC_FLAGS} 
>                         || "-GX -TP";
> my $XERCES_LD        = $ENV{XERCES_LD} 
>                         || "cc";
> my $LIB_FLAGS        = $ENV{XERCESP_LD_FLAGS} 
>                         || ":nosearch -licuuc -lixxml4c3";
> 
> # Build big strings:
> my $XERCESP_LIBS     = "-L${XERCES_C_ROOT}/lib "
>                      . "-L${PERL_LIB_DIR} "
>                      . "${LIB_FLAGS}";
> my $XERCESP_INC      = "-I${XERCES_C_ROOT}/include/ "
>                      . "-I${ICU_ROOT}/source/common";
> 
> # Setup install locations:
> my $OBJECT_LIST      = "Xerces_wrap.$EXT "
>                      . "DOMInit.$EXT "
>                      . "DOMParser2.$EXT "
>                      . "DOMString2.$EXT";
> my $DOM_INSTALL      = "${INST_LIB_DIR}/Xerces/DOM.pm";
> my $DOMPARSE_INSTALL = "${INST_LIB_DIR}/Xerces/DOMPARSE.pm";
> my $XERCES_INSTALL   = "${INST_LIB_DIR}/Xerces/Xerces.pm";
> 
> my $DEBUG_MODE       = $ENV{XERCES_DEBUG_MODE}
>                         || "";
> 
> if($DEBUG_MODE) {
>     print <<"(END_OF_TERSE_BLOCK)";
> 
> Xerces-Perl Meta-Makefile:
> 
> Using:
>    * OS:
>      --> $OS
>    * Object File Extension:
>      --> .$EXT
>    * Perl Lib:
>      --> $PERL_LIB_DIR
>    * ICU Root:
>      --> $ICU_ROOT
>    * Xerces-C Root:
>      --> $XERCES_C_ROOT
>    * Xerces-Perl Install Location:
>      --> $INST_LIB_DIR
>    * Build: CC:
>      --> $XERCES_CC
>    * Build: CC Flags:
>      --> $XERCES_CFLAGS
>    * Build: LD:
>      --> $XERCES_LD
>    * Build: LD Flags:
>      --> $LIB_FLAGS
>    * Build: Include paths:
>      --> $XERCESP_INC
>    * Build: Lib params:
>      --> $XERCESP_LIBS
>    * Object List:
>      --> $OBJECT_LIST
>    * Install: DOM:
>      --> $DOM_INSTALL
>    * Install: DOMPARSE:
>      --> $DOMPARSE_INSTALL
>    * Install: Xerces:
>      --> $XERCES_INSTALL
> 
> (END_OF_TERSE_BLOCK)
> }
> 
> WriteMakefile ( 
> #=====================================================================
> #       Platform-independent
> #=====================================================================
> 	NAME		=> 'Xerces',
> 
> 	AUTHOR		=> 'Tom Watson (rtwatson@us.ibm.com)',
> 
> 	OBJECT 		=> $OBJECT_LIST,
> 
> 	PM		=> {   'DOM.pm'      => $DOM_INSTALL,
> 			       'DOMPARSE.pm' => $DOMPARSE_INSTALL,
> 			       'Xerces.pm'   => $XERCES_INSTALL
> 			   },
> 
> 	PL_FILES	=> {   'makedocs.pl' => 'docs'
>                            },
> 
> #=====================================================================
> #       Platform-dependent, edit according to your compiler and 
> #       include/lib locations
> #=====================================================================
> 
> 	LIBS 		=> [   $XERCESP_LIBS
>                            ],
> 
>         CC              => $XERCES_CC,
>         LD              => $XERCES_LD,
> 
> 	CCCDLFLAGS 	=> $XERCES_CFLAGS,
> 	CCDLFLAGS 	=> $XERCES_CFLAGS,
> 
> 	INC 		=> $XERCESP_INC
> ); 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 

> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-p-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-p-dev-help@xml.apache.org

Re: Xerces.pm with Xerces 1.3 and ICU 1.6

Posted by "Parand T. Darugar" <td...@velocigen.com>.
Dear Eric,

  I'm anxious to give this a try. Would it be possible
to send me a tar of the full code (after diffs) so I 
can put it on the temporary web site? That seems to be
the most convenient way to get people to try packages:

http://www.velocigen.com/~tdarugar/xerces-p/

Best,

Parand Tony Darugar			tdarugar@velocigen.com
858-622-1164				Leading the Web Services Revolution
858-622-0303 fax			VelociGenX Server
http://www.velocigen.com/		Confidential