# BR-FXEXT-BR-54-2

Source: https://xmlvalid.com/rules/BR-FXEXT-BR-54-2

> Each Item attribute (BG-32) shall contain an Item attribute value (BT-161) or an Item attribute value with unit of measure (BT-X-12, with BT-X-12-0), but noth both.

- Level: error
- Rule sets: Factur-X EXTENDED rules 1.09.2
- Context: `//ram:ApplicableProductCharacteristic`
- Test: `(exists(ram:Value) and not(exists(ram:ValueMeasure))) or (not(exists(ram:Value)) and (exists(ram:ValueMeasure[@unitCode!=''])))`

Validate a document against these rules: https://xmlvalid.com/validate
