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

Fwd: RE: validating xml on the fly

  • To: xml-dev <xml-dev@l...>
  • Subject: Fwd: RE: validating xml on the fly
  • From: Scott Paulding <pldng@y...>
  • Date: Tue, 24 May 2005 08:49:57 -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=B7VtGaruZJ9Zeh/FDZu+A+7WjoNZrSPHMZT7SVQVWWyL2EGWJl5C3s6wp8kO8vCMgreuNZtpLUucqGg6qgyf0LaOHN7/p0rZa8aZfLOmtkVaXeXd7+IP+5XCes1rSY2PshwrI4OZJMBS4rbAM8R1hoPd4pUtTHL0YT2sYCiCO6Q= ;

scott paulding
Hello, 

I must not have hit 'reply to all'

-scott

--- Scott Paulding <pldng@y...> wrote:
> My difficulty is that I've never done it before :)
> 
> Basically, our porcess is this:
> 
> We have a 50+/- meg manual in sgml that we chunk into small xml
> fragments
> (each well formed xml documents). We use Ant to invoke this process,
> because there are different kinds of chunks (toc, meta, highlights,
> content, etc...) and diferent kinds of books to choose from. During the
> Ant process, the chunk.xsl is run on the book.sgm file, and it goes in
> on
> a deeper level than chapter, and chunks into 100-500k xml files,
> depending
> on the size of the specific sub-section and/or task within the manual.
> Generally, we have 100's-1000's of chunks per book. 
> 
> Since this is invokved from Ant, but the chunks are made in the xsl, I
> don't know how to tell xsl to validate each chunk as it is made, and I
> don't think I can do it from Ant. 
> 
> Sorry for not being clear enough. Thanks for all of the help so far. 
> 
> -scott
> 
> 
> --- Michael Kay <mike@s...> 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@y...] 
> > > Sent: 23 May 2005 23:34
> > > To: Chiusano Joseph; xml-dev
> > > Subject: RE:  validating xml on the fly
> > > 
> > > 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>
> > > 
> > > 
> > 
> > 
> > 
> 
> 
> "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/
> 


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

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.