Home Forums DITA and XMetaL Discussion Validation Error with conref Reply To: Validation Error with conref

Derek Read

Reply to: Validation Error with conref

A couple of more points pointed out by a colleague…

In the case where the conref resolution fails the local content is there for fallback output (this is another similarity with XInclude, though XInclude defines an explicit element). If the local content is not valid then output should fail completely. Having said that, I think most people do not anticipate this need so their local content is usually left “empty”. However, the possibility is there.

The -dita-use-conref-target value for attributes is another case where the DITA spec recognizes the need for XML validity. It is there to support the case where you may not want to use the local attribute value when an attribute is required: http://docs.oasis-open.org/dita/v1.1/OS/langspec/common/ditauseconreftarget.html