鉴于:
<!ELEMENT diagnostic-tracks (hookup*, (%step;)*, ((diagnostic-track-automated, diagnostic-track-manual) | diagnostic-track-automated | diagnostic-track-manual), evaluate*, disconnect*)>
和
<!ELEMENT diagnostic-track-automated (((%step;) | diagnostic_group)*, diagnostic_group, evaluate*)>
<!ENTITY % step "((%figtab;) | step1 | step1-alt)">
<!ENTITY % figtab "figure | figure-alt | table | table-alt | lubetab">
我收到了非确定性内容模型错误,诊断跟踪自动化和诊断组可以同时匹配两个或多个令牌。
我改为:
<!ELEMENT diagnostic-tracks (hookup*, (%step;)*, diagnostic-track-automated?, diagnostic-track-manual?, evaluate*, disconnect*)>
和
<!ELEMENT diagnostic-track-automated (((%step;) | diagnostic_group+)*, evaluate*)>
这消除了错误消息,但我不认为我的更改,尤其是对于diagnostic-track-automated
,是正确的。
我感谢任何改进建议。