Handling/Parsing/Validating multiple XML Statements

2004-08-12 Thread Dan White
I am on the server end of a client-server setup. The programmer working on the client end is sending me multiple XML statements in one group. The XercesDOMParser I am using does not like it. I am looking for either a way to separate the incoming statements or documentation to support my reque

RE: Handling/Parsing/Validating multiple XML Statements

2004-08-13 Thread Dan White
ecovery mechanism in > case you didn't get the number of bytes you expected. > > > > > -Original Message- > > From: Dan White [mailto:[EMAIL PROTECTED] > > Sent: Thursday, August 12, 2004 10:09 PM > > To: [EMAIL PROTECTED] > > Subject: Handling

Re: storing data from XML file into data structure

2004-08-13 Thread Dan White
Why not use DOM ? It parses the XML and then you have the document "tree" to work from. On Fri, 13 Aug 2004, Jones, Brian O. wrote: > Hi all, > > I am trying to store all the contents of my xml file in a structure when I parse the > file, but each section of my file is repeat and I don't want t

RE: storing data from XML file into data structure

2004-08-13 Thread Dan White
ing the contents to a file > first and then reading the file into my structure. > > -Original Message----- > From: Dan White [mailto:[EMAIL PROTECTED] > Sent: Friday, August 13, 2004 2:38 PM > To: Jones, Brian O. > Cc: [EMAIL PROTECTED] > Subject: Re: storing data from X

Re: storing data from XML file into data structure

2004-08-13 Thread Dan White
to see the solution??? -Original Message- From: Dan White [mailto:[EMAIL PROTECTED] Sent: Friday, August 13, 2004 3:04 PM To: Jones, Brian O. Cc: [EMAIL PROTECTED] Subject: RE: storing data from XML file into data structure Is there a reason you cannot populate your structure directly out of

Re: specifying a "schema path"?

2004-08-17 Thread Dan White
I use a XercesDOMParser instance and set the validating schema with a call to the setExternalNoNamespaceSchemaLocation method with a full path to the xsd file as the arguement. Works great. Good luck. On Tue, 17 Aug 2004, Matt Garman wrote: > > How can I specify a local path (or paths) that my

Re: specifying a "schema path"?

2004-08-17 Thread Dan White
On Aug 17, 2004, at 7:36 PM, Simon Kitching wrote: On Wed, 2004-08-18 at 03:23, Dan White wrote: I use a XercesDOMParser instance and set the validating schema with a call to the setExternalNoNamespaceSchemaLocation method with a full path to the xsd file as the arguement. Works great. Umm

HowTo Request: Sax Events to DOM Tree

2004-09-25 Thread Dan White
Is there a reasonably simple way to build a DOM Tree with SAX events ? I am working on a client-server that communicates by XML over a socket. Some of the other developers are having trouble pulling a complete XML statement off of the data stream. I implemented a DOM Parser with a very large in

Re: HowTo Request: Sax Events to DOM Tree

2004-09-30 Thread Dan White
Bump. Anyone have a clue on this ? On Sep 26, 2004, at 1:09 AM, Dan White wrote: Is there a reasonably simple way to build a DOM Tree with SAX events ? I am working on a client-server that communicates by XML over a socket. Some of the other developers are having trouble pulling a complete XML

Re: HowTo Request: Sax Events to DOM Tree

2004-09-30 Thread Dan White
do this without having to pick apart half of the Xerces library, if possible. On Thu, 30 Sep 2004, Alberto Massari wrote: > At 11.37 30/09/2004 -0400, Dan White wrote: > >OK, in reading data from a socket, you either do a "read_n" with a big > >enough buffer to hold any