Rick Jelliffe Topologi, Pty. Ltd. [email protected] Read/Write Use Cases Transmission Pipeline Grammars Datatypes Families References Rule-Based Selectors
Total Page:16
File Type:pdf, Size:1020Kb
Rick Jelliffe Topologi, Pty. Ltd. [email protected] Read/Write Use Cases Transmission Pipeline Grammars Datatypes Families References Rule-based Selectors ISO Standards W3C OASIS & Capabilities us! Use Cases for XML Flow Transform Data ? Web Serving Proces s Pipeline ? Data Services Read/Write ? Content Construction Use Case Validate Validate Input Output Flow Transform Data ? Web Serving Proces s Best for Validation Unit Schematron Test XLinkit Use Case Schema Data Binding Pipeline ? Data Services Best for Data Binding W3C XML Schema Use Case Read/Write ? Content Construction Validate Schema Best for Publishing RELAX NGconvert from DTD (e convert to WXS for editors Use Case: New Field Validate Documents against stylesheet Stylesheets Validate Example 3B2 Use Case: New Field Corpus Validate Sample Documents against Samples New Example Validate Topologi Reporter Family Tree Selection Grammars Family Tree URI TEI Library facets Regular Expressions SQL ISO ISO DTD Perl Xpath Types 8601 Xlink XLinkit Schematron WXS Regular Fragmentations Datatypes Schemarama XCSL Tennison's SOAP WSDL Examplotron Defineable ISO Schematron Datatypes CAM Datatypes Rule-Based + Namespace-aware DTDs? ? ? ? ? ? CAM, UML, ... ? Hook, ... Examplotron, ... Character Collections, ... WXS, Schematron, ... Model-based Logic-based Partial Order-based Example Based Character Classes Referential Integrity Seedlings Exciting! More activity, experiments and innovation than ever before. Simple schemas can use any language W3C XML Schema helps great innovation for data uses: little for document uses How can industrial publishing make use of these innovations ? (pipelines) ISO DSDL 1. Framework 2. Grammar-based RELAX NG 3. Rule-basedSchematron Document 4. Selection of CandidatesVCSL Schema 5. Datatypes WXS or Tennison Description 6. Integrity Constraints 7. Repertoire ValidationCharcol Languages 8. Declarative ManipulationXAF ISO/IEC 19757 9. Namespace-aware DTD ISO DSDL Plug-in Modularity encourages small, learnable Framework languages and multiple open source WXS implementations Datatype Namespace- aware RELAX DTD NG Framework Framework Plug-in Modularity ISO DSDL allows you to merge projects made with different schemas Datatypes WXS XSLT 2 e.g HTML RELAX NG e.g. SVG VCSL Schematron Framework VCSL Select a branch using namespace and context Trim out elements you don't Validation want Candidate Send this to one or more Selection validators Language Solves *big* problem with from Murata's namespaces: they promise RELAX Namespace + Clark's modularity, but you need NMS and NRL monolithic schemas. E.g XHTML+RDF+SVG+DC+MathML Schematron News: <let> allows variables Rule-based Abstract patterns you to Validation make your own schema <rule context="series"> language <let name="first" Specified as framework, value="string-before(., '-')" /> <assert test="number( $first ) =6"> allows migration to XSLT2 The value of the first part must = 6 <key> cleaned up </assert> </rule> Draft specification out this week <series>5-32-86</series>.