Hi ALL,

I had the same problem on a Solaris box at the end of April and I would appreciate also some suggestions.

Thanks a lot,


Mariella




Below there is part of the message I sent some time ago and what I have done

__________________________________________________________________________
__________________________________________________________________________

I have compiled and installed Xerces-c++ 2.5.0 on Solaris 2.8 using gcc 3.3.2
The options I have given for building Xerces C++ is
./runConfigure -psolaris -cgcc -xg++ -minmem -nlibwww ­tnative -rpthread

Before doing that I have built (using the same gcc) the w3c-libwww-5.4.0
I can see that the libWWW library is used in the settings for compilation

____________________________________________________________________________
export CXXFLAGS=" -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_LIBWWW -I/...../w3c-libwww-5.4.0/include -I/......./w3c-libwww-5.4.0/include/w3c-libwww -DHAVE_CONFIG_H "


export CFLAGS="-mcpu=v9 -m64 -w -O -DPROJ_XMLPARSER -DPROJ_XMLUTIL -DPROJ_PARSERS -DPROJ_SAX4C -DPROJ_SAX2 -DPROJ_DOM -DPROJ_VALIDATORS -DXML_USE_NATIVE_TRANSCODER -DXML_USE_INMEM_MESSAGELOADER -DXML_USE_PTHREADS -DXML_USE_NETACCESSOR_LIBWWW -I/........./w3c-libwww-5.4.0/include -I/........./w3c-libwww-5.4.0/include/w3c-libwww -DHAVE_CONFIG_H "
export LDFLAGS="-mcpu=v9 -m64 "


export LIBS=" -lpthread -L/........./w3c-libwww-5.4.0/lib -lwwwxml -lxmltok -lxmlparse -lwwwinit -lwwwapp -lwwwhtml -lwwwtelnet -lwwwnews -lwwwhttp -lwwwmime -lwwwgopher -lwwwftp -lwwwfile -lwwwdir -lwwwcache -lwwwstream -lwwwmux -lwwwtrans -lwwwcore -lwwwutils -lmd5 -ldl -lnsl -lsocket"
______________________________________________________________________________


The reason why I have built the w3c-libwww to be used with XercesC++ (NETACCESSOR="LibWWW") are the following:


1)
I need to validate XML documents using PParse (I cannot use sax.Counter) and some of the schema locations are given using http://................
2)
I understood that LibWWW in conjunction with Xerces-C++ would do it.


__________________________________________________________________________
__________________________________________________________________________










At 12:29 PM 7/14/2004 -0500, Song Li wrote:
MacOS 10.3.

Song

On Jul 14, 2004, at 11:57 AM, Alberto Massari wrote:

At 11.33 14/07/2004 -0500, Song Li wrote:
Thanks! so which option I should select while compiling? I tried "libwww'" but still doesn't work... more suggestion?

Hi Song, on which platform are you working?

Alberto


Song

On Jul 14, 2004, at 10:16 AM, Alberto Massari wrote:

At 16.46 13/07/2004 -0500, Song Li wrote:
Hi, gurus,

A newbie's question; when I parse an XML file with a line looks like:

<!DOCTYPE pathway SYSTEM "http://www.genome.ad.jp/kegg/xml/KGML_v0.4_.dtd";>

It can't parse and gives me an error:

Message: An exception occurred! Type:MalformedURLException, Message:The URL used an unsupported protocol

I've searched the past mailing-list messages, the only suggestion I've seen is changing to a newer version, but it seems that I am using 2_5_0, should be pretty new. and other things may cause the problem?? Thank a lot!

Did you build the Xerces library or did you use a binary distribution? It could be that you are using a Xerces library that was built without the NetAccessor module.


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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to