[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

RE: validating xml on the fly

  • To: Scott Paulding <pldng@y...>, Chiusano Joseph <chiusano_joseph@b...>, xml-dev <xml-dev@l...>
  • Subject: RE: validating xml on the fly
  • From: Mukul Gandhi <mukul_gandhi@y...>
  • Date: Mon, 23 May 2005 20:33:43 -0700 (PDT)
  • Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=f/Wo7/WOtnkBfWDzW31omXJLc4RknVfsW+sTQZvO+MqB3JGIMfnbrC61pmKPQpYDnSo4F9YlCTJwNmMfWFA2J0HCahUvX15Kd7JbEtQ7AN34q9N/IOEgnZKpB20Fgf9UsL7RKfyvBuCVphZNI9Yuis+2bFfaKzqINNBaOZefk/M= ;
  • In-reply-to: 6667

boozallen.com
I have a suggestion ...

I am assuming, you wish to do XML validation at a
single point ..

You could define the meaning of each XML chunk (you
may do this by defining the XML Schema for each
chunk); and then designate a serial no to each
fragment (you may put the serial no in the XML
document itself; either as a child element to document
element, or as an attribute to the document element)

When the XML chunks arrive, you need to find the right
schema for validating this chunk .. I suggest, you may
implement the "finding the right schema" process as a
custom code .. I am not sure, but you may use XSLT for
this ..

Regards,
Mukul

--- Scott Paulding <pldng@y...> wrote:
> Ok...they are complete, well formed documents. Sorry
> for the
> miscommunication.
> 
> -scott
> 
> --- Chiusano Joseph <chiusano_joseph@b...> wrote:
> > Ah - by definition, an XML "fragment" is not
> well-formed and therefore
> > will never validate (in the traditional use of the
> term "validate").
> > 
> > Kind Regards,
> > Joseph Chiusano
> > Booz Allen Hamilton
> > Visit us online@ http://www.boozallen.com
> >  
> > 
> > > -----Original Message-----
> > > From: Scott Paulding [mailto:pldng@y...] 
> > > Sent: Monday, May 23, 2005 6:17 PM
> > > To: Chiusano Joseph; xml-dev
> > > Subject: RE:  validating xml on the fly
> > > 
> > > Sorry, no. The the chunking process creates xml
> fragments. 
> > > 
> > > -scott
> > > 
> > > --- Chiusano Joseph <chiusano_joseph@b...>
> wrote:
> > > > Did you perhaps mean for your subject to be
> "validating sgml on the 
> > > > fly"?
> > > > 
> > > > Kind Regards,
> > > > Joseph Chiusano
> > > > Booz Allen Hamilton
> > > > Visit us online@ http://www.boozallen.com
> > > >  
> > > > 
> > > > > -----Original Message-----
> > > > > From: Scott Paulding
> [mailto:pldng@y...]
> > > > > Sent: Monday, May 23, 2005 5:57 PM
> > > > > To: xml-dev
> > > > > Subject:  validating xml on the fly
> > > > > 
> > > > > Hello,
> > > > > 
> > > > > We are currently taking large SGM manuals
> (50 MB +, per each) and 
> > > > > chunking them down into smaller fragments. I
> was wondering how to 
> > > > > validate these chunks against our schema as
> they are created?
> > > > > 
> > > > > Please help!
> > > > > 
> > > > > Thanks,
> > > > > 
> > > > > -scott
> > > > > 
> > > > > "If only we'd stop trying to be happy we
> could have a pretty good 
> > > > > time."
> > > > >         - Edith Wharton
> > > > > 
> > > > > 
> > > > > 		
> > > > > __________________________________
> > > > > Do you Yahoo!? 
> > > > > Yahoo! Small Business - Try our new
> Resources site 
> > > > > http://smallbusiness.yahoo.com/resources/
> > > > > 
> > > > >
>
-----------------------------------------------------------------
> > > > > 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>
> > > > > 
> > > > > 
> > > > 
> > > 
> > > "If only we'd stop trying to be happy we could
> have a pretty 
> > > good time." 
> > >         - Edith Wharton
> > > 
> > >
> __________________________________________________
> > > Do You Yahoo!?
> > > Tired of spam?  Yahoo! Mail has the best spam
> protection 
> > > around http://mail.yahoo.com 
> > > 
> > 
> 
> "If only we'd stop trying to be happy we could have
> a pretty good time." 
>         - Edith Wharton
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
>
-----------------------------------------------------------------
> 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>
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.