ncbi / DtdAnalyzer

Other
34 stars 11 forks source link

Difference in minified and spaced content models #20

Closed demianhess closed 12 years ago

demianhess commented 12 years ago

Got metadata for NLM Publishing DTD and see this for elements like string-date that have group with an asterisk:

<content-model spec="mixed" minified="(#PCDATA|day|month|season|year)*" spaced="( #PCDATA | day | month | season | year )"><child>day</child><child>month</child><child>season</child><child>year</child></content-model>

Note the minified looks right but spaced is missing the *.

I think the element model is also incorrect, since I think should be a ... but is instead several child elements.

Klortho commented 12 years ago

On Sat, Sep 29, 2012 at 5:35 PM, demianhess notifications@github.com wrote:

Got metadata for NLM Publishing DTD and see this for elements like string-date that have group with an asterisk:

daymonthseasonyear

Note the minified looks right but spaced is missing the *.

Fixed. Thanks for finding it.

I think the element model is also incorrect, since I think should be a ... but is instead several child elements.

I don't know what this means.

— Reply to this email directly or view it on GitHub.