# Plugin XML constraints

**URL:** https://discourse.paraview.org/t/plugin-xml-constraints/13699
**Category:** Development
**Created:** [January 15, 2024, 10:21am UTC](https://discourse.paraview.org/t/plugin-xml-constraints/13699 "2024-01-15T10:21:28Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [January 15, 2024, 10:21am UTC](https://discourse.paraview.org/t/plugin-xml-constraints/13699/1 "2024-01-15T10:21:28Z")

</div>

Hello!

I have found the email about that properties names in XML should be unique  
[https://public.kitware.com/pipermail/paraview/2012-June/025222.html](https://public.kitware.com/pipermail/paraview/2012-June/025222.html)

However I am interested, whether or not they can repeat on different depths of xml nested.

```auto
			<DoubleVectorProperty
				...
				<Hints>
					<PropertyWidgetDecorator type="EnableWidgetDecorator">
						<Property name="Enable Advanced" function="boolean" />
					</PropertyWidgetDecorator>
				</Hints>

			</DoubleVectorProperty>

			<DoubleVectorProperty
				....
				<Hints>
					<PropertyWidgetDecorator type="EnableWidgetDecorator">
						<Property name="Enable Advanced" function="boolean" />
					</PropertyWidgetDecorator>
				</Hints>
			</DoubleVectorProperty>

```

Or will \<Property name= repeating cause a failure?

Thanks

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [January 15, 2024, 10:43am UTC](https://discourse.paraview.org/t/plugin-xml-constraints/13699/2 "2024-01-15T10:43:32Z")

</div>

> [@joint](#):
>
> Or will \<Property name= repeating cause a failure?

It will not, this is fine and just pointing to the same property

---

<div class="post-metadata">

### Author: ![joint](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/j/dc4da7/32.png) [@joint](https://discourse.paraview.org/u/joint)
#### Post date: [January 15, 2024, 11:01am UTC](https://discourse.paraview.org/t/plugin-xml-constraints/13699/3 "2024-01-15T11:01:37Z")

</div>

Thank you a lot Mathieu!
