dar
dar copied to clipboard
Is there a dtd?
The examples usually refer to http://darformat.org/DarArticle-0.1.0.dtd or other similar URLs. But darformat.org
doesn't seem to resolve to any real domain. Are you planning to make it available under that domain? Where would I find the file in the meantime?
(one reason I am asking so I know what elements are mandatory and which ones aren't)
Hey!
We don't have a generated dtd yet (will come once the spec has stabilised). However, we have our schemas specified in RelaxNG.
https://github.com/substance/substance/blob/develop/dar/Manifest.rng https://github.com/substance/texture/blob/master/src/article/DarArticle.rng https://github.com/stencila/stencila/blob/develop/src/sheet/SheetSchema.rng
Okay, thank you.
Is there a good place to ask questions? For example I can find 'orgdiv1' only in examples but not in any schema (I might be wrong). From another source I might have 'department' and 'laboratory' as separate elements. Should I add them as different types or combine them to 'orgdiv1'.
Currently our schema validator can not enforce attribute values. Hope we find time to add that soon.
However you can find a formal, more readable spec here:
https://github.com/substance/dar/blob/master/DarArticle.md#aff