[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: @keyref attribute is not defined for msgph, userinput, systemoutput and filepath in softwareDomain.mod
Hi List, If this is already reported or known problem, please forgive me.One of our user reported that <msgph>, <userinput>, <systemoutput> and <filepath> in Software Domain should have @keyref attribute according to the DITA 1.3 specification.
> The following attributes are available on this element: Universal attribute group , outputclass, and @keyref .
3.10.7.6.1 <msgph> http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/langRef/technicalContent/msgph.html#msgph 3.10.7.6.7 <userinput> http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/langRef/technicalContent/userinput.html#userinput 3.10.7.6.8 <systemoutput> http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/langRef/technicalContent/systemoutput.html#systemoutput 3.10.7.6.6 <filepath> http://docs.oasis-open.org/dita/dita/v1.3/errata02/os/complete/part3-all-inclusive/langRef/technicalContent/filepath.html#filepathHowever when this user authors @keyref attribute for these elements, the XML Editor (oXygen) reports validation error for the next sample data.
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE concept PUBLIC "-//OASIS//DTD DITA Concept//EN" "concept.dtd"> <concept id="cSoftwareDomain" xml:lang="en-US"> ÂÂÂ <title>Software Domain</title> ÂÂÂ <shortdesc>Testing software domain keyref function.</shortdesc> ÂÂÂ <conbody>ÂÂÂÂÂÂÂ <p>This <xmlelement>msgph</xmlelement> uses <xmlatt>keyref</xmlatt> attribute: <msgph keyref="NOTE"/></p> ÂÂÂÂÂÂÂ <p>This <xmlelement>userinput</xmlelement> uses <xmlatt>keyref</xmlatt> attribute: <userinput keyref="NOTE"/></p> ÂÂÂÂÂÂÂ <p>This <xmlelement>systemoutput</xmlelement> uses <xmlatt>keyref</xmlatt> attribute: <systemoutput keyref="NOTE"/></p> ÂÂÂÂÂÂÂ <p>This <xmlelement>filepath</xmlelement> uses <xmlatt>keyref</xmlatt> attribute: <filepath keyref="OT_PATH"/></p>
ÂÂÂ </conbody> </concept> E [Xerces] Attribute "keyref" is not allowed to appear in element "msgph".E [Xerces] Attribute "keyref" is not allowed to appear in element "userinput". E [Xerces] Attribute "keyref" is not allowed to appear in element "systemoutput". E [Xerces] Attribute "keyref" is not allowed to appear in element "filepath".
I have analyzed relevant DTD file and found that @keyref attribute is not defined for these elements in softwareDomain.mod file.
https://github.com/oasis-tcs/dita/blob/hotfix/DITA-1.3_Errata03/doctypes/dtd/technicalContent/dtd/softwareDomain.mod https://github.com/dita-ot/dita-ot/blob/develop/src/main/plugins/org.oasis-open.dita.v1_3/dtd/technicalContent/dtd/softwareDomain.mod If this is the bug, early fix is much appreciated. Regards, -- /*-------------------------------------------------- Toshihiko Makita Development Group. Antenna House, Inc. Ina Branch E-Mail tmakita@antenna.co.jp 8077-1 Horikita Minamiminowa Vil. Kamiina Co. Nagano Pref. 399-4511 Japan Tel +81-265-76-9300 Fax +81-265-78-1668 Web site: http://www.antenna.co.jp/ http://www.antennahouse.com/ --------------------------------------------------*/
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]