June 13, 2004
I am attempting to port the Java SAX API to D, and in the process, I end up with the following error.  Any help would be appreciated.

The first file: xml/SaxModel.d contains the main interfaces in module 'xml.sax'.  When compiling and linking everything is fine.

The second file: xml/SaxExt.d contains SAX extensions in the module 'xml.sax.ext'.  When adding this file to the make process, I get the following error:

The error is:
xml\SaxModel.d: module sax module and package have the same name

Any pointers to what is wrong?

Thanks
Scott Sanders
June 13, 2004
"stonecobra" <scott@stonecobra.com> wrote in message news:cai521$km9$1@digitaldaemon.com...
> I am attempting to port the Java SAX API to D, and in the process, I end up with the following error.  Any help would be appreciated.
>
> The first file: xml/SaxModel.d contains the main interfaces in module 'xml.sax'.  When compiling and linking everything is fine.
>
> The second file: xml/SaxExt.d contains SAX extensions in the module 'xml.sax.ext'.  When adding this file to the make process, I get the following error:
>
> The error is:
> xml\SaxModel.d: module sax module and package have the same name
>
> Any pointers to what is wrong?

Yes. You have both a module sax and a package sax. One of them has to be renamed.