Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
In Arbortext 7 the profiling has changed. You can't simply Alias the existing Audience attribute for example. Tech Support told me I need to create attributes and define them in the schema. I am wondering if anyone had to do similar or if you can see something I am missing below.
I have done the following in my "techinfoMod.xsd" file I have a redefine:
<xs:redefine schemaLocation="urn:oasis:names:tc:dita:xsd:commonElementMod.xsd:1.3">
<!-- Redefine fiter-atts to add ProductLineFolder values and Additional Profile attributes -->
<xs:attributeGroup name="filter-atts">
<xs:attributeGroup ref="filter-atts"/>
<xs:attributeGroup ref="ProductLineFolder-d-attribute"/>
<xs:attributeGroup ref="toolcondition-d-attribute"/>
<xs:attributeGroup ref="model-d-attribute"/>
</xs:attributeGroup>
</xs:redefine>
I then created AttDomain.xsd file for each for example:
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:attributeGroup name="model-d-attribute">
<xs:attribute name="model"
type="model-att.class"></xs:attribute>
</xs:attributeGroup>
<xs:simpleType name="model-att.class">
</xs:simpleType>
</xs:schema>
Then lastly in my "techinfo.pcf" I have added the allowed values
<Profile alias="Model" attribute="model" valueSeparator=" ">
<Allowed value="Model_A"/>
<Allowed value="Model_B"/>
<Allowed value="Model_C"/>
<Allowed value="Model_D"/>
</Profile>
Despite this I am still getting parser messages
C:\Program Files\PTC\Arbortext Editor\custom\doctypes\techinfo\techinfoMod.xsd
ERROR Line:56 Column:55 The attributeGroup-':toolcondition-d-attribute'- not found in the schema
ERROR Line:57 Column:47 The attributeGroup-':model-d-attribute'- not found in the schema