Oxygen thinks I want to use DITA

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
odeon
Posts: 37
Joined: Mon Mar 12, 2007 1:56 am
Location: Sweden

Oxygen thinks I want to use DITA

Post by odeon » Mon Aug 18, 2008 9:46 am

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

sorin_ristache
Posts: 4144
Joined: Fri Mar 28, 2003 2:12 pm

Re: Oxygen thinks I want to use DITA

Post by sorin_ristache » Mon Aug 18, 2008 10:04 am

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

Post Reply