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] validating xml on the fly [newbie to sax/java]

[ Lists Home | Date Index | Thread Index ]
  • To: xml-dev@lists.xml.org
  • Subject: RE: [xml-dev] validating xml on the fly [newbie to sax/java]
  • From: Scott Paulding <pldng@yahoo.com>
  • Date: Thu, 26 May 2005 10:47:22 -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=SRRXoianKVjuInvQAJDb7du8vzoYy+zfCy+52gjCDXc0P0qK9R9Y/tWfdZXWil+bdv4D09CNIc6zuq2yK8aSKNdrvmOlIQoBqcxGBgmGQ8j1WZOBB0RBhqXdcies7OlvsV1+tbUx+M9SLZ95XEdd/bHeMBK/y8FhZGUCIaPsYOY= ;

Hello,

After further investigation, the issue revolves around which API to use.
I'm running Java 1.4.2_08.

I also didn't mention earlier, that while I'm familiar with Java, I'm new
to SAX (and the SAX Parsers, etc), so I'm getting hung up. 

Thanks,

-scott


--- Michael Kay <mike@saxonica.com> wrote:

> Where exactly is your difficulty? Is it in identifying the schema to be
> used, or in finding an API to invoke the schema validator, or what?
> 
> If you use XSLT 2.0, by the way, you can simply do:
> 
> <xsl:result-document name="chunk{position()}.xml" validation="strict">
>   ..
> </xsl:result-document>
> 
> The validation will then be done genuinely on the fly - and if it fails,
> it
> will tell you where you were in the stylesheet when it failed.
> 
> Michael Kay 
> http://www.saxonica.com/
> 
> 
> > -----Original Message-----
> > From: Scott Paulding [mailto:pldng@yahoo.com] 
> > Sent: 23 May 2005 23:34
> > To: Chiusano Joseph; xml-dev
> > Subject: RE: [xml-dev] validating xml on the fly
> > 
> > Ok...they are complete, well formed documents. Sorry for the
> > miscommunication.
> > 
> > -scott
> > 
> > --- Chiusano Joseph <chiusano_joseph@bah.com> 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@yahoo.com] 
> > > > Sent: Monday, May 23, 2005 6:17 PM
> > > > To: Chiusano Joseph; xml-dev
> > > > Subject: RE: [xml-dev] validating xml on the fly
> > > > 
> > > > Sorry, no. The the chunking process creates xml fragments. 
> > > > 
> > > > -scott
> > > > 
> > > > --- Chiusano Joseph <chiusano_joseph@bah.com> 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@yahoo.com]
> > > > > > Sent: Monday, May 23, 2005 5:57 PM
> > > > > > To: xml-dev
> > > > > > Subject: [xml-dev] 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>
> > 
> > 
> 
> 
> 


"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/




 

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

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