OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dita message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [dita] Bugs and quirks in the 1.3 DTDs


Hi Tom,

For the first one - looking at the troubleshooting DTD module, I see that line 147 sets the content model for <cause>, which (indirectly) means this is the model:
<!ENTITY % section.blocks.only.cnt
             
"((%title;)?,
               (%basic.block; |
                %data.elements.incl; |
                %div; |
                %foreign.unknown.incl; |
                %sectiondiv; |
                %txt.incl;)*)
"
>

Following up on those entities, "basic.block" is a group that includes %div; -- but %div; is included again 2 lines after that (the %div; entity includes <equation-block>, which gave your error). I'm guessing this is the problem - can you try removing that line and see if your parsers like it better? That's line 58 in the copy of troubleshooting.mod that's currently checked into SVN.

I'm not sure about the other two items - those are both from DTDs that I haven't looked at, and which define elements that are not part of the specification.

Robert D Anderson
IBM Authoring Tools Development
Chief Architect, DITA Open Toolkit (http://dita-ot.sourceforge.net/)


Inactive hide details for "Tom Magliery" ---07/16/2014 18:51:18---Hi all,"Tom Magliery" ---07/16/2014 18:51:18---Hi all,

From: "Tom Magliery" <tom.magliery@justsystems.com>
To: "DITA TC" <dita@lists.oasis-open.org>
Date: 07/16/2014 18:51
Subject: [dita] Bugs and quirks in the 1.3 DTDs
Sent by: <dita@lists.oasis-open.org>





Hi all,
 
A few anomalies in the 1.3 DTDs are surfacing as our guys are working on things. Any comments on these?
 
1. Non-deterministic content model in troubleshooting.mod:
 
"Error: on line 147 of C:\Program Files\XMetaL 9.0\Author\DITA\DITA_1.3_DTD\technicalContent\dtd\troubleshooting.mod: Non deterministic content model. An instance of element equation-block could simultaneously match two or more tokens in the content model."
 
2. Undefined entity in vocabulary.mod:
 
" Error: on line 96 of C:\Program Files\XMetaL 9.0\Author\DITA\DITA_1.3_DTD\vocabularyModuleDesc\dtd\vocabulary.mod: Parameter entity used but not defined. Entity "moduleTitle" is referenced but not defined."
 
3. Same as above in rngForeignDomain.ent (realizing that rngTopic may not be a "real" topic type):
 
" Error: on line 11 of C:\Program Files\XMetaL 9.0\Author\DITA\DITA_1.3_DTD\rngGrammar\dtd\rngForeignDomain.ent: Parameter entity used but not defined. Entity "rng_grammar" is referenced but not defined."
 
4. Stylistic typo in the Public IDs for vocabularyModuleDesc:
 
   <public publicId="-//OASIS//DTD DITA 1.3Vocabulary Module Description//EN" uri="dtd/vocabularyModuleDesc.dtd"/>
                                           ^ add space
   <public publicId="-//OASIS//DTD DITAVocabulary Module Description//EN" uri="dtd/vocabularyModuleDesc.dtd"/>
                                       ^ add space
 
mag
 


[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]