Support of ITS tags in docbooks?
Stéphane Aubry <[email protected]> Sun, 4 Dec 2022 21:50:29 +0700
| Newsgroups | gmane.editors.xxe.general |
|---|---|
| Message-ID | <AM9P191MB127275E34A8FEF14AB489ACDA2199@AM9P191MB1272.EURP191.PROD.OUTLOOK.COM> |
Hello,
I would like to include some ruby characters in my docbook.
https://en.wikipedia.org/wiki/Ruby_character
The ITS (Internationalization Tag Set) makes it possible to include ruby characters in docbooks.
This page contains a sample docbook with some ruby characters:
https://lists.oasis-open.org/archives/docbook-apps/201201/msg00042.html
I paste it here for your convenience:
<book xmlns="http://docbook.org/ns/docbook" xmlns:its="http://www.w3.org/2005/11/its" version="5.0">
<title>...</title>
<chapter>
<title>...</title>
<para>この本は <its:ruby>
<its:rb>慶応義塾大学</its:rb>
<its:rp>(</its:rp>
<its:rt>けいおうぎじゅくだいがく</its:rt>
<its:rp>)</its:rp>
</its:ruby>の歴史を説明するものです。</para>
</chapter>
</book>
When I open this docbook in XML Editor Personal Edition 10.2.0, I get this error:
element "ruby" from namespace "https:www.w3.org/2005/11/its" not allowed in this context
- Is there anything wrong in the sample file?
- Could you send me a sample docbook file with ruby characters inside that works fine in XML Editor?
Best Regards
Stephane Aubry
PS: You can reply in French or Japanese if it’s more convenient for you.
--
XMLmind XML Editor Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/xmleditor-support