16.1.0 - Parser Errors in abbreviatiatedDomain.mod

Post here questions and problems related to editing and publishing DITA content.
lostiniceland
Posts: 14
Joined: Tue Nov 12, 2013 4:26 pm

16.1.0 - Parser Errors in abbreviatiatedDomain.mod

Post by lostiniceland »

Hello everyone

After I just upgraded to the latest OxygenXml-Version 16.1.0, in order to get rid of the warning concerning Luna-compatibility, I get errors in all documents where I use the abbreviated-form-tag.

Withing the Author-Editor, Xerxes complains:

Code: Select all

Element type "abbreviated-form" must not be declared more than once.
When following the error to its location which is com.oxygenxml.editor_16.1.0.v2014100319/frameworks/dita/DITA-OT/dtd/technicalContent/dtd/abbreviateDomain.mod, then the attlist for abbreviated-form is there twice as well as some other error-markers:

Code: Select all

The entity "univ-atts" was referenced, but not declared.

Code: Select all

The entity "global-atts" was referenced, but not declared.

Looks like a little bug sneaked into the release. When downgrading back to 16.0, everything works as expected.
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: 16.1.0 - Parser Errors in abbreviatiatedDomain.mod

Post by Radu »

Hi,

I installed a fresh Oxygen 16.1 XML Editor plugin but I cannot reproduce the problem on my side.
Did you un-install the Oxygen 16.0 plugin?
Do you use a DITA DTD specialization? If so, did you integrate that specialization in the DITA OT which comes bundled with Oxygen 16.1?

Could you maybe send us a sample topic on which the problem can be obtained? Or is it just a regular DITA topic which uses the <abbreviated-form> element?

Those two errors reported when opening the abbreviateDomain.mod are natural, the file is just a module which is not valid by itself, it is only valid in the context of a larger DTD which uses the module.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
lostiniceland
Posts: 14
Joined: Tue Nov 12, 2013 4:26 pm

Re: 16.1.0 - Parser Errors in abbreviatiatedDomain.mod

Post by lostiniceland »

Hi Radu

Thanks for your test and explaining the issue with the .mod

First, I did not uninstall 16.0 before installing 16.1.

Regardings your other questions:
Yes, I use specializations, but those are just custom-type-shells as recommendet by Elliot Kimblers book. So its just a copy from the original dtd.
There is one exception though. For longer documents I use the dita-for-publishers chapter-type and in this case the programming- and software-domain-modules are added to the type-shell in order to use the markup.

I checked my code again, and the error in the editor is only showing up on d4p-types. Using abbreviated-form in a concept for example is working as expected.
Radu
Posts: 9446
Joined: Fri Jul 09, 2004 5:18 pm

Re: 16.1.0 - Parser Errors in abbreviatiatedDomain.mod

Post by Radu »

Hi,

I tried creating a new D4P Chapter specialization with the 16.1 plugin with the content:

Code: Select all

<!DOCTYPE chapter PUBLIC "urn:pubid:dita4publishers.sourceforge.net:doctypes:dita:chapter" "chapter.dtd">
<chapter
id="chapter-id">
<title></title>
<body>
<p>dsadsaddsa<abbreviated-form keyref=""/>dsa dsad</p>
</body>
</chapter>
and I still cannot reproduce the issue.
The fact that you did not un-install 16.0 might be a problem, two versions of Oxygen usually do not interact very well on the same Eclipse installation.

I'm not sure what changes you have in the DTDs on your side though.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
lostiniceland
Posts: 14
Joined: Tue Nov 12, 2013 4:26 pm

Re: 16.1.0 - Parser Errors in abbreviatiatedDomain.mod

Post by lostiniceland »

The Problem has been solved. Sorry for the confusion.

The new release includes an update of the Dita OT which fixed an issue with the abbreviation-domain in the dita-for-publishers-plugin. This domain is now included by default and this caused the error because our custom shell also included this domain.

We removed the abbreviation-domain in our custom-shell and everything is now working again.
Post Reply