How to describe the @domains attribute text entity for constraint module?

26 views
Skip to first unread message

Toshihiko Makita

unread,
Jul 9, 2019, 12:03:16 PM7/9/19
to DITA-OT Users
Hi All,

I'm working with new DITA user to develop DITA-OT PDF plug-in modules. In the first discussion this user requested to me to apply constraints to OASIS DITA DTDs to simplify their authoring tasks before developing plug-in.

The requests are;
  1. Remove longdescref element from hazardSymbol content model.
  2. Also remove longdescref element from glossSymbol content model.
In above two cases what is the appropriate @domains attribute text entity? I suspect the former is <!ENTITY hazard-symbol-constraints "(topic hazardSymbol-c)"> and the latter is <!ENTITY gloss-symbol-constraints "(glossentry glossSymbol-c)">.

If there are any other suggestions, please let me know!

Regards,

-- 
/*--------------------------------------------------
 Toshihiko Makita
 Development Group. Antenna House, Inc. Ina Branch
 Web site:
 http://www.antenna.co.jp/
 http://www.antennahouse.com/
 --------------------------------------------------*/

Chris Papademetrious

unread,
Jul 9, 2019, 12:12:43 PM7/9/19
to Toshihiko Makita, DITA-OT Users
Hello Makita-san,

If RelaxNG grammars are an option, you could try my grammar-making utility:


If you tell me what kind of specializations or constraints you're writing, I can help you create them.

 - Chris



--
You received this message because you are subscribed to the Google Groups "DITA-OT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to dita-ot-user...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/dita-ot-users/d3dc2e63-ee76-43d9-937a-d2962d7f3310%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Joe Williams

unread,
Jul 9, 2019, 1:12:03 PM7/9/19
to Toshihiko Makita, DITA-OT Users

On Tue, Jul 9, 2019 at 12:03 PM Toshihiko Makita <toshihik...@gmail.com> wrote:
--

Toshihiko Makita

unread,
Jul 10, 2019, 7:10:29 AM7/10/19
to DITA-OT Users
Thank you for both answer. I relieved very much!

> If RelaxNG grammars are an option, you could try my grammar-making utility:

Unfortunately (as you know) the major CCMS vendor only supports DTD even now. I think RelaxNG is attractive option. But I cannot use it in actual DITA project.
Reply all
Reply to author
Forward
0 new messages