OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

 


 

   Re: [xml-dev] Handling/Parsing/Validating multiple XML Statements

[ Lists Home | Date Index | Thread Index ]

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@zenucom.com>
To: "Dan White" <ygor@comcast.net>
Cc: "Cross, Neal - Senior Developer" <ncross@icc.co.uk>;
<xml-dev@lists.xml.org>
Sent: Friday, August 13, 2004 6:40 PM
Subject: Re: [xml-dev] 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@comcast.net]
> >>Sent: 13 August 2004 15:53
> >>To: Cross, Neal - Senior Developer
> >>Cc: Gerben Rampaart; xml-dev@lists.xml.org
> >>Subject: RE: [xml-dev] 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@comcast.net]
> >>>Sent: 13 August 2004 14:15
> >>>To: Gerben Rampaart
> >>>Cc: xml-dev@lists.xml.org
> >>>Subject: RE: [xml-dev] 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@comcast.net]
> >>>>Sent: vrijdag 13 augustus 2004 14:42
> >>>>To: xml-dev@lists.xml.org
> >>>>Subject: [xml-dev] 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>





 

News | XML in Industry | Calendar | XML Registry
Marketplace | Resources | MyXML.org | Sponsors | Privacy Statement

Copyright 2001 XML.org. This site is hosted by OASIS