OASIS Open Mailing List Archives  ·  All Lists  ·  dita  ·  2010-09

dita — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

DITA v1.2 Review | Propagating attribute values


Tarun, I think we've resolved the issue of attribute propagation by key definitions but I don't think we ever responded to the details of this specific note. Namely, whether or not an attribute is specified in a document instance or is defaulted in a DTD or schema can have no effect on processing because after parsing the two cases are indistinguishable, meaning a processor either cannot know how the attribute value came to be (because the parser simply reports the attribute value, not how it was specified) or the processor can know (e.g., an XML editor) but must ignore that knowledge. Thus it would not be possible for the DITA standard to define behaviors based on whether or not a given attribute was defined as a DTD- or schema-provided default. Or said another way, all DITA processing must work for documents that have no associated DTD or XSD (or other form of document constraint specification) meaning that for such documents all attributes are either specified or not specified in the instance, because that's all you have. Cheers, Eliot On 8/25/10 3:24 AM, "Tarun Garg"

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]