Described here: https://github.com/NCBITools/DtdAnalyzer/tree/master/test/split-example. This is a more full-featured example, with a lot of stuff extracted from the JATSCon paper. The file split-mockup.daz.xml includes my ideas about how to include the “!dtd” and “!module” annotations into the dtdanalyzer output.
We can use this as our main test case.
Chris Maloney
NIH/NLM/NCBI (Contractor)
Building 45, 5AN.24D-22
--
You received this message because you are subscribed to the Google Groups "DtdAnalyzer" group.
To post to this group, send email to dtdan...@googlegroups.com.
To unsubscribe from this group, send email to dtdanalyzer...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dtdanalyzer?hl=en.
I wish it were true!
I’ve been working on the structured-comment-extractor on and off for the last few days, in a separate branch. If you are interested to look at it or help with it, I can push the branch up to Github. It is pretty straightforward, but a little bit tedious.
Audrey has been going gangbusters on the Schematron (#9) and the documentor (#4 and #7). Maybe if you get time you could work on the comparator? And/or helping to figure out how to configure it and package it?
I do think we should include a modules section in the documentation output. I put it in the mockup (http://www.ncbi.nlm.nih.gov/books/NBK100354/figure/hess-fig1/?report=objectonly). I would think that each module should get a page that lists everything defined in that module.
Even with no special annotations, because of Demian’s additions, we know the system id of everything read by the parser. So you could make a distinct-values list of those, lop off the path part, leaving just the filename part, or something like that. It might be nice to leave everything except a relative path from the main dtd module, so that you’d get “mathml/mmlalias.ent”, instead of just “mmlalias.ent”, but that might be tricky. To be robust, you’d need to grab the system id of the main .dtd module, and compute relative paths from that. There might be an XSLT library to do that, but I don’t know of one off the top of my head. Probably not worth it in the first go-around – we could make a “maybe/someday” ticket for this case.