Page 1 of 1

Oxygen thinks I want to use DITA

Posted: Mon Aug 18, 2008 9:46 am
by odeon
Hello,

This morning I created a well-formed, standalone, XML document. The purpose of this document is to map URNs with matching URLs in an application I'm building for a client. A simple config file that I can access using XSLT, in other words. No DTD or schema needed, just a few elements to quickly help me connect a URN to a URL.

I decided to name my root element "map".

Because of this naming choice, Oxygen now thinks I want to use DITA and therefore quickly marked my well-formed, non-DITA, document in red, offering a dozen or so error messages.

Surely this must be regarded as a bug? I mean, there is nothing in the XML spec or its cousins to restrict the letters "m", "a", and "p" to DITA, I have not used a DOCTYPE to point out a DITA DTD, and I have explicitly stated in my XML declaration that my little XML file is standalone.

Regards,

/Ari

Re: Oxygen thinks I want to use DITA

Posted: Mon Aug 18, 2008 10:04 am
by sorin_ristache
Hello,

The map root element is associated with the DITA Map document type in the preferences. If your documents having a map root element are not DITA maps you must disable the checkbox of the DITA Map document type in the Enabled column of the table available from Options -> Preferences -> Document Type Association.


Regards,
Sorin