I have updated a specialized DITA XSD to include an attribute specialization. The XSD validates in Oxygen, and I can create validating topics in both Oxygen and XMetal. However, when I attempt to open topics that use this specialized attribute, the web editor churns and never finishes opening the topic. When I validate the topic in Stylus Studio, it fails with the following message:
file:///c:/sandbox/1.2/healthwise/xsd/hwActionTask/hwActionTask.xsd:102,58: 'file:///c:/sandbox/1.2/healthwise/xsd/hwActionTask/commonElements.mod.xsd' has already been included or redefined
file:///c:/sandbox/active_task.xml:2,294: attribute 'iconType' is not declared for element 'p'
I can see nothing in the developer tools log to explain why it stops loading. The log blows right past the modified XSD file and the associated XSL but stops after loading custom.css. I get nothing more after that.
I have a hard time believing that Stylus is correct since Oxygen 19 validates the file.
Here's the attribute declaration in the DITA shell XSD:
<xs:redefine schemaLocation="commonElements.mod.xsd">
<xs:attributeGroup name="select-atts">
<xs:attributeGroup ref="select-atts"/>
<xs:attributeGroup ref="iconType-d-attribute"/>
</xs:attributeGroup>
</xs:redefine>
and
<xs:attributeGroup name="domains-att">
<xs:attribute name="domains" type="xs:string" default="a(base iconType)"/>
</xs:attributeGroup>
I thought <xs:redefine schemaLocation="commonElements.mod.xsd"> might create a circular reference, but neither XMetal and Oxygen choke.
Any suggestions?
Thanks,
Bill Burns
Content Architect | Healthwise
bburns@healthwise.org | www.healthwise.org
208.331.6917 (office) | 208.345.1897 (fax)
Healthwise helps people make better health decisions.