Cannot validate with oXygen
Posted: Thu Sep 05, 2013 8:53 pm
Hi,
I am investigating the possibility of moving our department from using XMetal to using oXygen instead.
We have a custom DTD that we are successfully using with XMetaL that is customised for our content.
I was able to take our custom dtd and mod files and move them over to the oXygen folders without any issues.
Well, except one - our <cmd> declaration in the mod will not validate.
This syntax is correct according to every DITA resource I can find and XMetaL validates the mod just fine.
The error is
Clicking on the error message shows that it errors out at the "#PCDATA" point of the line.
I can change around the declaration to make it work but not the way we need it to.
We need to have the "image" be required and the elements be optional.
This small detail seems like it might be the only thing holding us back from making the switch to oXygen.
Can anybody help me figure out how to make this work?
Thanks
-Brian
I am investigating the possibility of moving our department from using XMetal to using oXygen instead.
We have a custom DTD that we are successfully using with XMetaL that is customised for our content.
I was able to take our custom dtd and mod files and move them over to the oXygen folders without any issues.
Well, except one - our <cmd> declaration in the mod will not validate.
Code: Select all
<!ELEMENT cmd ((%image;)+, (#PCDATA | %basic.ph; | %note;)*)>
The error is
Code: Select all
System ID: C:\Program Files\Oxygen XML Author 15\frameworks\dita\DITA-OT\dtd\technicalContent\dtd\task.mod
Main validation file: W:\Working\2\Procedures\CABCOOL\Cabinet_Cooler_Installation.xml
Schema: C:\Program Files\Oxygen XML Author 15\frameworks\dita\DITA-OT\dtd\base\dtd\task.dtd
Engine name: Xerces
Severity: fatal
Description: A '(' character or an element type is required in the declaration of element type "cmd".
Start location: 240:39
I can change around the declaration to make it work but not the way we need it to.
We need to have the "image" be required and the elements be optional.
This small detail seems like it might be the only thing holding us back from making the switch to oXygen.
Can anybody help me figure out how to make this work?
Thanks
-Brian