Ahhh, thanks for the advice! Roger Printy Senior Software Engineer
-----Original Message----- From: Alberto Massari [mailto:[EMAIL PROTECTED] Sent: Friday, April 28, 2006 8:47 AM To: [email protected] Subject: RE: Webserver support At 07:48 AM 4/28/2006 -0400, Printy, Roger-P57305 wrote: >I did build Xerces from the tar-ball I downloaded. I did not do >anything with NetAccessors. I will rebuild the Xerces libraries and >follow the instructions from the website regarding the runConfigure >command. Do I need to use a NetAccessor in my source code or just >simply run runConfigure with the -n option appropriately? The NetAccessor is the internal object used by Xerces to access non filesystem-based resources; you don't need to use it directly in your source code. If you specify the "-n socket" (or no other "-n" option, as this is the default choice), runConfigure makes sure that the Xerces library contains the "socket" NetAccessor, that provides support for a basic client for HTTP protocol; if you specify "-n fileonly" no NetAccessor will be compiled and every attempt to access remote URL will result in the "unsupported protocol" error message. So, just be sure that you specify "-n socket" option on the runConfigure command line. Alberto >Roger Printy >Senior Software Engineer > > >-----Original Message----- >From: Alberto Massari [mailto:[EMAIL PROTECTED] >Sent: Friday, April 28, 2006 7:44 AM >To: [email protected] >Subject: Re: Webserver support > >At 07:07 AM 4/28/2006 -0400, Printy, Roger-P57305 wrote: > > >I am trying to use the DOMPrint example to parse an XML file from a > >webserver. The file is of the correct format, can parse without > >issue from a local workstation location but I am not able to from a > >webserver > > >address > >(<http://<IP>/<DirectoryPath>/<FileName>.xml>http://<IP>/<DirectoryPa > >th > >/<FileName>.xml. > >With DOMPrint I get the following error: > > > >Message: Exception Occurred! Type: Malformed URLException, Message: > >The URL used an unsupported protocol. > > > >This seems like a configuration issue between my remote workstation > >and > > >the server. I am running Fedora Core 4 OS. Does anybody have any > >input to my issue? > >Hi Roger, >did you build Xerces from sources? Are you sure you enabled a >NetAccessor (i.e. you did not invoke runConfigure using the "-n >fileonly" switch) > >Alberto > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] > > >--------------------------------------------------------------------- >To unsubscribe, e-mail: [EMAIL PROTECTED] >For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
