~/talk

Greenfox – a schema language for validating file systems

Talkat XML Prague 2020 · 2020-02-13..02-15· [databases, web-platform]
links:none on file
slides:none on file

Greenfox is a schema language that validates an arbitrary file‑system tree (a chosen folder and its descendants) using an XDM-based model and XPath/foxpath/XQuery expressions. It implements SHACL‑style value shapes (map resource → XDM value) and folder/file shapes with targets, cardinality, checksums, last‑modified and cross‑resource rules (e.g., docbook with image data requires a sibling image folder). A 100% XQuery reference implementation runs on BaseX and is available on GitHub.

AI-written summary · about

  1. 0:00Intro
  2. 0:24Greenfox: definition
  3. 0:37File system validation
  4. 0:55Conventional validation - some basic limitations
  5. 3:10A first schema, with a folder shape
  6. 6:56A folder shape, containing a file shape
  7. 7:38Nesting shapes - subsetting
  8. 8:44Nesting shapes - if outer target, then inner
  9. 9:31Validating JSON contents
  10. 10:18Key feature #1 - XDM based
  11. 11:01Navigation skills
  12. 11:42Validation concept
  13. 12:51Concepts
  14. 15:42What a constraint perceives
  15. 16:39Constraining resource values Value shape, declaring a constraint
  16. 17:14Expression tandems
  17. 19:12folder resource values
  18. 20:44external resource value
  19. 21:33Exploring files with shifting focus nodes
  20. 23:14Constraint components Resource shapes
  21. 23:48User-defined constraints
  22. 26:17Pouring waters of validity
  23. 27:13Implementation
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.