[oXygen-user] Testing Subject Schemes

Oxygen XML Editor Support (Radu Coravu)
Mon Sep 8 01:11:11 CDT 2014


Hi Khaled,

The Subject Scheme DITA Map can be used to impose controlled values on 
attributes which are already defined as allowed in the DITA content.
So if you define in the Subject Scheme Map an attribute (in your case 
"p-doc") as having certain values this does not mean that the attribute 
is recognized by the DITA DTDs associated to your topics and maps.

So you would still need to create a DTD specialization to add a new DITA 
attribute.
Please see Eliot Kimber's excellent tutorial link below:

> http://www.xiruss.org/tutorials/dita-specialization/body/part-config-and-extend/tutorials/attribute-domain/domain-att-spec-process.html

Regards,
Radu

Radu Coravu
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 9/7/2014 8:27 AM, Khaled Aly wrote:
> Hi
>
> I’m running an elementary Subject Scheme test to learn how to use it
> later for producing a full taxonomy, followed the simple instructions at
> http://www.oxygenxml.com/doc/ug-editor/topics/subject-scheme-map.html.
>
> However, when using the attribute defined in the subject scheme map, and
> although auto completion recognizes its defined values; I get the error:
> Attribute "p-doc" must be declared for element type "p", where “p-doc”
> is the ‘attributedef’ name within the ‘enumerationdef’ element.
>
> Subject scheme file validates well and ditamap file references the
> subject scheme file. The three files are attached.
>
> Would appreciate any directions about this.
>
> Khaled
>
> ----------------------------------------------------------------
>
> Khaled A.B. Aly, Senior Author & Analyst in ICT
>
> Technopsis Research; Cairo, Egypt (GMT+2)
>
>
>
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>


More information about the oXygen-user mailing list