soshial / xdxf_makedict

XDXF — an open and free dictionary format, that stores word articles in a structural and semantic way. The most convertible format
227 stars 54 forks source link

fixed mixed content elements and CDATA attribute lists in dtd, changed <def> semantics #21

Closed kristiank closed 8 years ago

kristiank commented 9 years ago

I understand the main point of the old definition, is that if an article definition contains character data, then it can't contain a nested <def>. I couldn't express this as a DTD element constrain, though. Any ideas?

soshial commented 8 years ago

Thank you very much for helping me with this DTD scheme. If I may ask for some elaboration of the issues you raised, I would love to listen to them.

  1. PCDATA -> CDATA (why should it be done? and what`s the difference?)
  2. Changes that switch */+. Are they necessary?