# Invalid use of Domain attribute

**URL:** <https://forum.certara.com/t/invalid-use-of-domain-attribute/1217>\
**Category:** Define.xml\
**Created:** [May 31, 2018, 8:01pm UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217 "2018-05-31T20:01:25Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sergiy](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/sergiy/32/2553_2.png) [@Sergiy](https://forum.certara.com/u/Sergiy)\
**Post date:** [May 31, 2018, 11:28pm UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217/1 "2018-05-31T23:28:16Z")

</div>

Hi Aadesh,

I assume that you validating ADaM IG 1.1 standard which is not formally supported by P21 Community 2.2.0.

See page 8 of this paper [https://www.pharmasug.org/proceedings/2018/SS/PharmaSUG-2018-SS14.pdf](https://www.pharmasug.org/proceedings/2018/SS/PharmaSUG-2018-SS14.pdf)

Kind Regards,

Sergiy

---

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [June 1, 2018, 7:42am UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217/2 "2018-06-01T07:42:06Z")

</div>

The “Domain” attribute on “ItemGroupDef” is only allowed for the case of SDTM and SEND. It should not be used in the case of ADaM (ADaM does not have domains, only datasets).  
See the Define-xml 2.0 specification page 68: “Use: Conditional: Required in the context of a regulatory submission in Define-XML for SDTM and SEND. Not applicable for ADaM”

Jozef Aerts  
Define-XML Development Team  
and CDISC Define-XML Trainer

---

<div class="post-metadata">

**Author:** ![shahaadesh](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@shahaadesh](https://forum.certara.com/u/shahaadesh)\
**Post date:** [June 1, 2018, 1:31pm UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217/3 "2018-06-01T13:31:00Z")

</div>

I am using ADaM 1.0 as the standard and itemgroupdef.

def:StandardName=“ADaM-IG”  
def:StandardVersion=“1.0”\>

somehow it still shows up.

---

<div class="post-metadata">

**Author:** ![XML4Pharma](https://avatars.discourse-cdn.com/v4/letter/x/b2d939/32.png) [@XML4Pharma](https://forum.certara.com/u/XML4Pharma)\
**Post date:** [June 1, 2018, 4:18pm UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217/4 "2018-06-01T16:18:07Z")

</div>

Again,

The “Domain” attribute is not allowed for ADaM datasets.  
So if you remove Domain=“ADSL” on the “ItemGroupDef” line, the error should disappear.  
If necessary, use a simple editor like NotePad++.

Jozef Aerts  
Define-XML Development Team  
and CDISC Define-XML Trainer

---

<div class="post-metadata">

**Author:** ![Sergiy](https://sea1.discourse-cdn.com/certara/user_avatar/forum.certara.com/sergiy/32/2553_2.png) [@Sergiy](https://forum.certara.com/u/Sergiy)\
**Post date:** [June 1, 2018, 5:13pm UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217/5 "2018-06-01T17:13:06Z")

</div>

Hi Aadesh,

Yes, a concept of “_Domain_” is a part of SDTM model. It is not applicable in ADaM.

In addition to short diagnostic Message as “_Invalid use of Domain attribute_”, look for more details in **Description** of the rule as “**_For ADaM submission data (where def:StandardName is ‘ADaM-IG’), Domain attribute is not applicable and must not be included in Define.xml_**”.

You can find this info on the last tab of your P21 Community validation report. Note, that the first validation message in a report has a direct link (Pinnacle 21 ID or Publisher ID) to rule description.

Also, this information is available online in our Rules Browser: [https://www.pinnacle21.com/validation-rules/define-xml](https://www.pinnacle21.com/validation-rules/define-xml)

Regards,

Sergiy

Here is your corrected code without _Domain_ attribute:

> def:StandardName=“ADaM-IG”  
> def:StandardVersion=“1.0”\>

---

<div class="post-metadata">

**Author:** ![shahaadesh](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@shahaadesh](https://forum.certara.com/u/shahaadesh)\
**Post date:** [May 31, 2018, 8:01pm UTC](https://forum.certara.com/t/invalid-use-of-domain-attribute/1217/6 "2018-05-31T20:01:25Z")

</div>

Hi,

I am getting this wired error within pinnacle 21 as Invalid use of Domain attribute, where the value of Domain, Dataset is ADSL, ADSL. Can someone help with this error and how to fix it.

Thank you,

Aadesh.
