Hi,

I have just found that IDs are rewritten also on <resourceid> element
during the preprocessing. I think this is wrong because usually there
are put IDs that are connecting topic with something outside DITA -- for
example with application IDs for invoking context sensitive help. It
would be better if those wouldn't be rewritten as other "norma" IDs.

For my purposes I made fix in processIds() method in PreProcessor.java:

            if (child.getNodeType() == Node.ELEMENT_NODE &&
                DITAUtil.hasDITANamespace(child) &&
                !child.getNodeName().equals("resourceid")) { // Skip SVG
and MathML and resourceid

You might consider to make similar change in your code base.

                                Jirka

-- 
------------------------------------------------------------------
  Jirka Kosek      e-mail: [email protected]      http://xmlguru.cz
------------------------------------------------------------------
       Professional XML consulting and training services
  DocBook customization, custom XSLT/XSL-FO document processing
------------------------------------------------------------------
 OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 rep.
------------------------------------------------------------------
    Bringing you XML Prague conference    http://xmlprague.cz
------------------------------------------------------------------

Attachment: signature.asc
Description: OpenPGP digital signature

--
XMLmind DITA Converter Support List
[email protected]
http://www.xmlmind.com/mailman/listinfo/ditac-support

Reply via email to