Syntext Forums - Serna Enterprise XML Editor, Serna Free XML Editor
(#1 (permalink))
Old
Junior Member
 
Posts: 4
Join Date: Nov 2009
Default Problem with Domain Specialization - 11-13-2009, 07:58 PM

Hello,

Using Serna Free 4.2.0.20091009. I've been following the Domain Specialization tutorial from from Domain Specialization Process Overview (DTDs), but have run into an issue where I'm uncertain where Serna is picking up the allowable tags for a given document type.
Following the tutorial, I've created a modified concept.dtd file, created custom xmlDomain.mod and xmlDomain.ent files, modified the catalog-dita_template.xml file in the DITA-1.4 directory to point to the custom concept.dtd file, updated Serna's preference to include this catalog file, created a test document, and verified that Serna is verifying the new dtd file correctly. However, none of the newly defined elements, which should show up as allowable tags within a 'p' tag, show up when the editor focus is inside of a 'p' tag. Will Serna pick up customizations the way I have done them, or is there a different set of dtd's that need to be modified?
Reply With Quote
(#2 (permalink))
Old
kondor's Avatar
линукс-покемон
 
Posts: 49
Join Date: Apr 2009
Default 11-14-2009, 10:03 AM

Hello,

During editing, Serna does validation according to the Schema (not DTD); DTD (if specified) is used only during initial document parsing. Hence to make Serna show up your tags as allowable in Element Insert dialog you should create .xsd schema files and enable them to use. DTD can be converted to XML Schema with ``trang''.


Get the latest updates on Syntext Blog
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.1
vBulletin Skin developed by: vBStyles.com