Skip to main content
1-Visitor
July 25, 2016
Question

Elements out of Context

  • July 25, 2016
  • 1 reply
  • 1749 views

I'm working on a file that uses the MIL-STD-3001 XML standard. When I open the file in Arbortext, it turns context rules off, telling me that an element is out of context.  Looking at the DTDs, that element is a valid child element of the parent that contains it.  Deactivating and reactivating the style sheet sometimes allows me to turn context rules back on, but the problem comes back when I open the file. Has anyone else had this experience?  Any troubleshooting tips?

1 reply

1-Visitor
July 27, 2016

Hi Kelly,

I have not seen that particular behavior. I've worked with MIL-STD-40051 and 38784.

Most of the MIL-STD are SGML-based. Have you tried recompiling your DTD? When working in a different versions of Arbortext, recompiling the DTD can correct context issues. Arbortext will sometimes ask you to recompile especially if you have changed versions of the software.

-Jeff

kkeck1-VisitorAuthor
1-Visitor
August 24, 2016

Thanks!  I haven't tried that, so I'll give it a shot.