xml editor

Products

Features

  EPUB
Supported platforms

Supports Windows 7 & Mac OS X Lion

Ready for XML Editor data server software
W3C Member

can't implement new DITA profiling attributes

This should cover W3C XML Schema, Relax NG and DTD related problems.

can't implement new DITA profiling attributes

Postby natepm » Fri Jun 24, 2011 3:09 pm

I'm using oxygenxml 12. "edit profiling attributes > configure profiling attributes..." allows me to set up new ones, but when I apply them to a topic document, I get a validaiton error:
SystemID: /home/nate/Oxygen XML Editor 12/samples/dita/garage/sequence.ditamap
Engine name: Xerces
Severity: error
Description: Attribute "sdfds" must be declared for element type "topicref".
Start location: 12:59
End location: 12:70

Any tips?
natepm
 
Posts: 2
Joined: Fri Jun 24, 2011 3:05 pm

Re: can't implement new DITA profiling attributes

Postby Radu » Fri Jun 24, 2011 3:37 pm

Hi,

The new added DITA profiling attributes also need to be defined in the DITA DTDs and supported by the DITA Open Toolkit processing.

Our GUI is flexible in allowing to add more DITA profiling attributes in order to be able to use conditional profiling when users specialize the DITA DTDs to allow for the extra profiling attributes but we do not automatically generate a specialization of the DITA DTDs if you add new profiling attributes using our GUI, this has to be done separately by you.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
 
Posts: 1509
Joined: Fri Jul 09, 2004 5:18 pm

Re: can't implement new DITA profiling attributes

Postby natepm » Tue Jun 28, 2011 3:15 pm

Fair enough, but how do I see which DTDs are being used by Oxygen so I know where to apply changes?
natepm
 
Posts: 2
Joined: Fri Jun 24, 2011 3:05 pm

Re: can't implement new DITA profiling attributes

Postby Radu » Tue Jun 28, 2011 3:52 pm

Hi,

By default Oxygen uses the XML catalog from the bundled DITA Open Toolkit:
OXYGEN_INSTALL_DIR/frameworks/dita/DITA-OT/catalog-dita.xml
to validate DITA topics.

If you open a DITA topic in Oxygen there is an action on the toolbar called Open External Schema which opens the associated DTD.

But DITA specialization is an art in itself, specializations usually are not made on the DTDs themselves but separately and then catalog entries are added to make them work properly.

Eliot Kimber has a very good about DITA specializations using Oxygen:
http://www.xiruss.org/tutorials/dita-specialization/

which has a chapter treating how new profiling attributes can be added:
http://www.xiruss.org/tutorials/dita-specialization/body/part-config-and-extend/tutorials/attribute-domain/domain-att-spec-process.html

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Radu
 
Posts: 1509
Joined: Fri Jul 09, 2004 5:18 pm


Return to XML Schemas

Who is online

Users browsing this forum: No registered users and 0 guests

cron
XML Editor | XML Author | WYSIWYG Editors | Schema Editor | XSD Documentation | XSL/XSLT Editor | XQuery | XML Databases | SVN Client
© 2002-2011 SyncRO Soft Ltd. All rights reserved. | Sitemap | Privacy Policy | This website was created & generated with <oXygen/>® XML Editor