Kazuko O. wrote:

I use xxe v9.0 for DITA 1.3 source creation.
I have a question about href value in the xref element.
The attached png displays xref settings in xxe.
When the xref addresses the non-topic element (for example, table) of a 
different topic, xxe shows two types of candidates (the red squares of the 
attached image).

    1)  evaluate_01-003.dita#./xref_test_table
    2)  evaluate_01-003.dita#evaluate_01-003/xref_test_table

Does the No. 1) "evaluate_01-003.dita#./xref_test_table" follow DITA 1.3 
specification?
I saw the following web page,
http://docs.oasis-open.org/dita/dita/v1.3/os/part2-tech-content/archSpec/base/uri-based-addressing.html
 .
Is the expression #. allowed only in the same topic?

After carefully re-reading "2.3.3 URI-based (direct) addressing", you seem to be right.

http://docs.oasis-open.org/dita/dita/v1.3/os/part2-tech-content/archSpec/base/uri-based-addressing.html
---
When addressing a non-topic element within a DITA topic, a URI reference *must* use a fragment identifier that contains the ID of the ancestor topic element of the non-topic element being referenced, a slash ("/"), and the ID of the non-topic element (filename.dita#topicId/elementId or #topicId/elementId).

When addressing a non-topic element within the topic that contains the URI reference, the URI reference *can* use an abbreviated fragment-identifier syntax that replaces the topic ID with "." (#./elementId).
---

So, in my understanding too, yes, syntax "#." is allowed only in the same topic.

We'll fix this bug in XXE v9.1, to be released next month.


--
XMLmind XML Editor Support List
xmleditor-support@xmlmind.com
https://www.xmlmind.com/mailman/listinfo/xmleditor-support

Reply via email to