First of all I apologize if this is not the appropriate mailing-list.
I need to validate XML documents using PParse and some of the schema locations inside the XML documents are given using http://................
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.
I have built everything and run PParse on the XML document
./PParse -n -s /tmp/xml1
and I still get an error such as :
________________________________________________________________________
XMLScanner::scanProlog .... InvalidDocumentStructure
Fatal Error at file http://............../code.xsd, line 1, char 1
Message: Invalid document structure __________________________________________________________________________
Can someone help, please ?
Thanks a lot in advance for your help,
Mariella
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
