XML Editor
Sign up for a WebBoard account Sign Up Keyword Search Search More Options... Options
Chat Rooms Chat Help Help News News Log in to WebBoard Log in Not Logged in
Show tree view Topic
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Postnext
Bryan BankheadSubject: StylusValidator and File Size
Author: Bryan Bankhead
Date: 21 Apr 2006 01:28 PM
When validating an xml file that is 270 MB using the StylusValidator command line utility, an error occurs stating, "This application has requested the Runtime to terminate in an unusual way. Please contact the application's support team for more information.".

I believe this is happening because of the huge xml file.

Is there a known file size limitation for StylusValidator.exe?

-bryan bankhead

Postnext
Minollo I.Subject: StylusValidator and File Size
Author: Minollo I.
Date: 21 Apr 2006 01:55 PM
There isn't a hard limit to the documednt size that can be handled; it depends on a number of factors, including memory available on the machine, encoding of the document, dimension/complexity of the referenced schemas and so on.

The command line tool relies on Apache XercesC for validation; different validation engines might be more scalable than XercesC. But the XML document size you are talking about is indeed quite large...

Minollo

Postnext
Bryan BankheadSubject: StylusValidator and File Size
Author: Bryan Bankhead
Date: 21 Apr 2006 02:25 PM
Originally Posted: 21 Apr 2006 02:26 PM
Thanks.

Interestingly enough, I can successfully validate the file through the Stylus Studio IDE. Is this because the IDE uses a different engine?

-bryan bankhead

Postnext
Minollo I.Subject: StylusValidator and File Size
Author: Minollo I.
Date: 21 Apr 2006 02:41 PM
That's very strange; the (default) validation engine used by the IDE is the same used by the command line.

Does the command line utility work fine with smaller files for you? Is the file available on your local file system?

Thanks,
Minollo

Posttop
Bryan BankheadSubject: StylusValidator and File Size
Author: Bryan Bankhead
Date: 21 Apr 2006 02:50 PM
Yes, the command line utility does work just fine for me with smaller files. Also, the command line utility, xml file, and schema are all on my local file system.

I am currently in the process of decreasing the size of the xml file incrementally to determine at what size the utility generates the error.

-bryan bankhead

 
Topic Page 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Go to previous topicPrev TopicGo to next topicNext Topic
Download A Free Trial of Stylus Studio 6 XML Professional Edition Today! Powered by Stylus Studio, the world's leading XML IDE for XML, XSLT, XQuery, XML Schema, DTD, XPath, WSDL, XHTML, SQL/XML, and XML Mapping!  
go

Log In Options

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