You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by vi...@agilent.com on 2002/11/28 19:32:38 UTC

MalformedURLException with BCB6

Hi,

I have a problem with xercesc using Borland C++ Builder 6 (Personal), on NT4
I have recently started using BCB and tried to use xerces and couldn't

I can build the dll and lib but DOMPrint crashes as does my own code
I have been using the parser from VC6 for a long time and have had no problems
so I assume this is something simple to do with my lack of BCB experience

I tried the version I normally use (1.7.0) and the dll and lib builds fine

but if I try and run DOMPrint as it stands I get a 'MalformedURLException'
when it attempt to parse the sample file

(The mail archive has a mention of this exception but the user in that case could 
get the examples working and it was his own code crashing)

For my second test I put in a hardcoded value to an xml file in case the sample was corrupt
same exception thrown, this file is parsed perfectly when I use xerces from VC6

I tried getting version 2.1.0 and DOMPrint doesn't even compile :-(

Anyone have any ideas what might be wrong since I am stumped ???

	Vin


------------------------------------------------------------------------
vincent_finn@agilent.com
------------------------------------------------------------------------
The beatings will continue 
until morale improves
------------------------------------------------------------------------

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


Re: MalformedURLException with BCB6

Posted by Vitaly Prapirny <ma...@mebius.net>.
Hi

vincent_finn@agilent.com wrote:
> 
> Hi,
> 
> I have a problem with xercesc using Borland C++ Builder 6 (Personal), on NT4
> I have recently started using BCB and tried to use xerces and couldn't
> 
> I can build the dll and lib but DOMPrint crashes as does my own code
> I have been using the parser from VC6 for a long time and have had no problems
> so I assume this is something simple to do with my lack of BCB experience
> 
> I tried the version I normally use (1.7.0) and the dll and lib builds fine
> 
> but if I try and run DOMPrint as it stands I get a 'MalformedURLException'
> when it attempt to parse the sample file

Are you run it from command line ?

> 
> (The mail archive has a mention of this exception but the user in that case could
> get the examples working and it was his own code crashing)
> 
> For my second test I put in a hardcoded value to an xml file in case the sample was corrupt
> same exception thrown, this file is parsed perfectly when I use xerces from VC6
> 
> I tried getting version 2.1.0 and DOMPrint doesn't even compile :-(
> 
> Anyone have any ideas what might be wrong since I am stumped ???
> 
>         Vin
> 
> ------------------------------------------------------------------------
> vincent_finn@agilent.com
> ------------------------------------------------------------------------
> The beatings will continue
> until morale improves
> ------------------------------------------------------------------------
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: xerces-c-dev-unsubscribe@xml.apache.org
> For additional commands, e-mail: xerces-c-dev-help@xml.apache.org

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