Re: [xml-dev] Need a language whiz: An XML Schema "specifies" how data is to be structured? "describes"? "constrains"?
I still don't see what the novelty of "epischemas" is supposed to be, apart from giving a name (which is welcome). James Clark did this parallel grammar technique for HTML IIRC, as a way to reconstruct SGML's exclusion exceptions (i.e. that an <a> could not contain an <a> etc) without combinatorial explosion. Schematron supported multiple patterns in parallel from the start. DSDL's NVRL was based on selecting different sections of documents and running them through different schemas (including in parallel). Lloyds of London Financial Markets use of layers of increasing complexity (IIRC a basic grammar, then a complex grammar, then a Schematron) to weed out bad transactions efficiently was widely reported. And the idea of a Bloom filter is basic CS knowledge.
Regards
Rick
On Mon, Jan 8, 2018 at 6:43 PM, Tony Graham <[email protected]> wrote:
On 07/01/2018 22:17, Andrew Sales wrote:
It's a reality which (again) the publishing sector has been living
with since ever publishers started using markup.
They acknowledge or cope with it to a greater or lesser degree: the old-style trope was to have an "authoring DTD" and a "publishing
DTD", the latter more finely attuned to publication needs.
Nowadays, things like Schematron's phases also address this need
quite elegantly.
There is also Gerrit Imsieke's 'Epischema' idea. From his talk at XML
Prague 2017 [1]:
Instead of altering the base schema or adding Schematron constraints,
a second grammar-implementing schema is associated with the document.
This second schema will enforce structural constraints where the basic
schema is liberal. This second schema is lightweight in that it allows
anything anywhere except for a certain aspect for which it adds
grammatical constraints over the permissive base schema.
Regards,
Tony Graham.
--
Senior Architect
XML Division
Antenna House, Inc.
----
Skerries, Ireland
[email protected]
[1] http://www.xmlprague.cz/day3-2017/#tei
_______________________________________________________________________
XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.
[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: [email protected]
subscribe: [email protected]
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php