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

RAN Apatak: streaming parallel validation of arbitrary SAX-likestreams w

  • From: Rick Jelliffe <rjelliffe@allette.com.au>
  • To: xml-dev <xml-dev@lists.xml.org>
  • Date: Sat, 7 Aug 2021 14:23:52 +1000

RAN Apatak: streaming parallel validation of arbitrary SAX-likestreams w

Apatak is a worked-out idea for a validator for RAN (Raw Access Notation), based on fuzzy, composable, pairwise checks with a very trivial implementation. Like RAN, this is to explore what technologies might look like that takes advantage of our 21st Century parallelized hardware and software capabilities.

RAN is designed to allow various kinds of parallelization. One is to scan the document into fragments and process each one separately in parallel: each fragment could be validated as if it were a document using conventional grammars.

But RAN also allows random-access lexing: starting from any location the lexer can find the next start or end- tag, and start producing output from there. But how can this be validated, since we do not necessarily know what the current ancestors or previous siblings are?

Apatak allows the validation of an arbitrary section of a document (with complete tags, though not necessarily all balanced in the fragment, for example the situation where a RAN lexer runs on a section of text and produces a SAX-like stream.)

See  https://schematron.com/2021/08/ran-apatak-streaming-parallel-validation-of-arbitrary-sax-like-streams/


Some document types and structure errors will be highly suited to Apatak. It is designed to err on the side of false positives.  Grammars can be converted to Apatak with some loss of contextual power on elements or attributes that can appear in multiple contexts with different rules: XML DTDs with much identical mixed content will not be much affected, however DTDs, XSD, RELAX NG with equivocal usages will have more losses. 

Regards
Rick



[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.