Error in specialization .mod file
Posted: Mon Mar 14, 2022 5:42 am
Hello!
I'm using a set of files that were given to me for a specialization and this is an error I get when I try to validate the .mod file:
Severity: fatal
Description: A '(' character or an element type is required in the declaration of element type "room".
Room is a specialized DITA topic type that was defined in the dtd, mod, and ent files--The error is this line: <!ELEMENT room %room.content;>
I think I am missing something! Please help!
The errors continue on when I am trying to publish, but I am hoping fixing this will fix the rest. Let me know if you need more context.
Nicole
<!-- LONG NAME: Room -->
<!ENTITY % room.content
"((%roomname;),
(%roomdesc;),
(%prolog;)?,
(%roombody;)?,
(%related-links;)?,
(%room-info-types;)*)"
>
<!ENTITY % room.attributes
"id
ID
#REQUIRED
%conref-atts;
%select-atts;
%localization-atts;
outputclass
CDATA
#IMPLIED"
>
<!ELEMENT room %room.content;>
<!ATTLIST room %room.attributes;
%arch-atts;
domains
CDATA
"&included-domains;"
I'm using a set of files that were given to me for a specialization and this is an error I get when I try to validate the .mod file:
Severity: fatal
Description: A '(' character or an element type is required in the declaration of element type "room".
Room is a specialized DITA topic type that was defined in the dtd, mod, and ent files--The error is this line: <!ELEMENT room %room.content;>
I think I am missing something! Please help!
The errors continue on when I am trying to publish, but I am hoping fixing this will fix the rest. Let me know if you need more context.
Nicole
<!-- LONG NAME: Room -->
<!ENTITY % room.content
"((%roomname;),
(%roomdesc;),
(%prolog;)?,
(%roombody;)?,
(%related-links;)?,
(%room-info-types;)*)"
>
<!ENTITY % room.attributes
"id
ID
#REQUIRED
%conref-atts;
%select-atts;
%localization-atts;
outputclass
CDATA
#IMPLIED"
>
<!ELEMENT room %room.content;>
<!ATTLIST room %room.attributes;
%arch-atts;
domains
CDATA
"&included-domains;"