|
[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Handling/Parsing/Validating multiple XML Statements
Try prepend a new root , e.g. <root>, at the beginning, then append </root> to the end, before processing. ----- Original Message ----- From: "Rick Marshall" <rjm@z...> To: "Dan White" <ygor@c...> Cc: "Cross, Neal - Senior Developer" <ncross@i...>; <xml-dev@l...> Sent: Friday, August 13, 2004 6:40 PM Subject: Re: Handling/Parsing/Validating multiple XML Statements > not a valid xml document, there isn't a root tag > > it's a document of tags.... > > rick > > Dan White wrote: > > ><foo> <bar> woof </bar> </foo> <foo> <bar> woof </bar> </foo> > > > >with "foo" being the root tag > > > >On Fri, 13 Aug 2004, Cross, Neal - Senior Developer wrote: > > > > > > > >>Can you post an example of an incorrect wad with multiple statements? > >> > >>-----Original Message----- > >>From: Dan White [mailto:ygor@c...] > >>Sent: 13 August 2004 15:53 > >>To: Cross, Neal - Senior Developer > >>Cc: Gerben Rampaart; xml-dev@l... > >>Subject: RE: Handling/Parsing/Validating multiple XML > >>Statements > >> > >> > >>Yes, preprocessing is a possibility, but how would one do it ? > >> > >>How do you locate where one statement ends and the next begins ? > >> > >>On Fri, 13 Aug 2004, Cross, Neal - Senior Developer wrote: > >> > >> > >> > >>>Could you preprocess the request to seperate the statements it into seperate wads? > >>>Then feed these one by one through your system. > >>> > >>>-----Original Message----- > >>>From: Dan White [mailto:ygor@c...] > >>>Sent: 13 August 2004 14:15 > >>>To: Gerben Rampaart > >>>Cc: xml-dev@l... > >>>Subject: RE: Handling/Parsing/Validating multiple XML > >>>Statements > >>> > >>> > >>>I would still face the problem of how to separate XML statement/documents. > >>> > >>>The client is sending two and three statements in one "wad". > >>> > >>>On Fri, 13 Aug 2004, Gerben Rampaart wrote: > >>> > >>> > >>> > >>>>Have you considered server-side message queueing ? > >>>> > >>>>G. > >>>> > >>>>-----Original Message----- > >>>>From: Dan White [mailto:ygor@c...] > >>>>Sent: vrijdag 13 augustus 2004 14:42 > >>>>To: xml-dev@l... > >>>>Subject: Handling/Parsing/Validating multiple XML Statements > >>>> > >>>>I am on the server end of a client-server setup. I am using a > >>>>Xerces-C++ parser with XML Schema validation. > >>>> > >>>>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 request that the client send only one at a > >>>>time. > >>>> > >>>>Thanks. > >>>> > >>>> > >>>> > >>>> > >>>>----------------------------------------------------------------- > >>>>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > >>>>initiative of OASIS <http://www.oasis-open.org> > >>>> > >>>>The list archives are at http://lists.xml.org/archives/xml-dev/ > >>>> > >>>>To subscribe or unsubscribe from this list use the subscription > >>>>manager: <http://www.oasis-open.org/mlmanage/index.php> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>>----------------------------------------------------------------- > >>>>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > >>>>initiative of OASIS <http://www.oasis-open.org> > >>>> > >>>>The list archives are at http://lists.xml.org/archives/xml-dev/ > >>>> > >>>>To subscribe or unsubscribe from this list use the subscription > >>>>manager: <http://www.oasis-open.org/mlmanage/index.php> > >>>> > >>>> > >>>> > >>>> > >>>> > >>>----------------------------------------------------------------- > >>>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > >>>initiative of OASIS <http://www.oasis-open.org> > >>> > >>>The list archives are at http://lists.xml.org/archives/xml-dev/ > >>> > >>>To subscribe or unsubscribe from this list use the subscription > >>>manager: <http://www.oasis-open.org/mlmanage/index.php> > >>> > >>>######################################################################### ############ > >>>This e-mail message has been scanned for Viruses and Content. > >>>BOSS > >>>######################################################################### ############ > >>> > >>>----------------------------------------------------------------- > >>>The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > >>>initiative of OASIS <http://www.oasis-open.org> > >>> > >>>The list archives are at http://lists.xml.org/archives/xml-dev/ > >>> > >>>To subscribe or unsubscribe from this list use the subscription > >>>manager: <http://www.oasis-open.org/mlmanage/index.php> > >>> > >>> > >>> > >>> > >>> > >>########################################################################## ########### > >>This e-mail message has been scanned for Viruses and Content. > >>BOSS > >>########################################################################## ########### > >> > >> > >> > >> > > > >----------------------------------------------------------------- > >The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > >initiative of OASIS <http://www.oasis-open.org> > > > >The list archives are at http://lists.xml.org/archives/xml-dev/ > > > >To subscribe or unsubscribe from this list use the subscription > >manager: <http://www.oasis-open.org/mlmanage/index.php> > > > > > > > > ---------------------------------------------------------------------------- ---- > ----------------------------------------------------------------- > The xml-dev list is sponsored by XML.org <http://www.xml.org>, an > initiative of OASIS <http://www.oasis-open.org> > > The list archives are at http://lists.xml.org/archives/xml-dev/ > > To subscribe or unsubscribe from this list use the subscription > manager: <http://www.oasis-open.org/mlmanage/index.php>
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|
|||||||||

Cart








