RE: Parsing from a string

2002-01-17 Thread SidY
Dave, When I click on "memparse" link I get file not found Sid -Original Message- From: David N Bertoni/CAM/Lotus [mailto:[EMAIL PROTECTED]] Sent: Friday, 18 January 2002 9:19 AM To: [EMAIL PROTECTED] Subject: RE: Parsing from a string It's already in the "manual": http://

RE: Parsing from a string

2002-01-17 Thread David N Bertoni/CAM/Lotus
It's already in the "manual": http://xml.apache.org/xerces-c/samples.html Dave [EMAIL PROTECTED]

RE: Parsing from a string

2002-01-17 Thread SidY
You know, it's this kind of practical useful information that should be in the Xerces Documentation manual. Samples of each of the parsing mechanisms... if there is a demand for this type/kind of information (and I believe there is) then does anyone want to collate it into a document ??? Is it

DO NOT REPLY [Bug 5893] - non-terminated string

2002-01-17 Thread bugzilla
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://nagoya.apache.org/bugzilla/show_bu

RE: MalformedURLException

2002-01-17 Thread Don Mastrovito
I assume you are talking about the options on the Tools|Debugger menu. Those only apply to debug builds. This is equiavlent to MSVC's "first chance" exception handling where the debugger intercepts errors that the program might actually recover from in a graceful fashion. In this case, the

RE: MalformedURLException

2002-01-17 Thread Ranjana Srivastava
Don I found out how to suppress the EndOfEntityException in the Borland IDE and now the file can be parsed and the progam is executed successfully. However I would like to confirm if suppressing Exceptions this way could cause any other problems. Ranjana -Original Message- From: Don Mas

Re: Failing to validate using schema

2002-01-17 Thread Khaled Noaman
A good starting point for you is to look at the sample programs (SAXCount, DOMPrint, ...) that are shipped with the parser. Since schemas are namespace aware, you need to set the namespace processing to true (parser->setDoNamespaces(true)), since it is false by default. Regards, Khaled Christ

Failing to validate using schema

2002-01-17 Thread Christer Lindqvist
Hi, I'm having trouble getting schema validation to work properly with 1.6.0; depending on whether I use a validating SAX- or DOMParser, I get different (erroneous) outcomes. It should be noted that I've just recently started using the Xerces C++, but have failed to find any help on the followin

Re: XML Schema circular definitions

2002-01-17 Thread Khaled Noaman
Great. Normally, the parser version is reflected in the library name. So, for the next release of the parser, the library name will include the version (i.e. xerces-c_1_6_1.dll for win32). Khaled Sam Tregar wrote: > On Wed, 16 Jan 2002, Khaled Noaman wrote: > > > On windows, I am getting error

Re: Unexpected Schema Validation errors

2002-01-17 Thread Graham Mann
Khaled, Success!! - Thanks very much. I've used the sources from xml-xerces_20020117052128.tar.gz - now all supposedly good files pass and all supposedly bad files report expected errors. Should any new problems arise I'll keep you posted. Graham Mann Adobe Systems Europe Ltd. -

Re: Parsing from a string

2002-01-17 Thread Don Mastrovito
This ought to get you started. While this code snippet was not compiled and tested, it was extracted from one of my projects. It demonstrates loading from either a file or a stream. const bool LoadFromStream = true;// Set to false for file i/o const char *MyFileName = "C:\TEMP\

RE: Parsing from a string

2002-01-17 Thread Dario Bllb.
I parse strings in this way... // your string buffer unsigned char* XML_Doc_uChar; // here the length unsigned int byteCount; // create the mem input source (In_XML is a name you can change..) MemBufInputSource MemBufInSource(XML_Doc_uChar, byteCount,