[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: RE: [dita] Why There are Constraints on Conref
Hi all I have to admit to not previously spending much time trying to understand constraints. I am only now trying to get my head around the feature, and the recently raised conref issues (which did alarm me). I have drawn together a simplistic summary of the feature, prior to Michael's proposed "weak" addition. I have attached that summary, in case it is useful to anyone also playing catch-up. I hope I have got the fundamentals right. As I understand it, the main problem is that I can't conref something like a simple <note>Don't run with scissors!</note> element from a base (unconstrained) concept topic into a constrained concept topic (even if <note> is allowed in the constrained topic), because conreffing from a less restrictive to a more restrictive topic is not permitted. Michael's "weak" proposal will impact on the way constraints are declared, and the way processors handle constraints. Perhaps I'm displaying my ignorance on the issue, but would an alternative be for the constraints to be ignored unless the conref inclusion "broke" the content model rules of the target topic? So, provided the imported <note> would be valid if it were pasted into the target, constrained topic, then the conref is valid. Hope I'm not muddying the water. Tony SelfTitle: Constraints in DITA 1.2
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]