0

I have a UML model developed with Rational Software Architect v9.1.2. I'm crafting a BIRT report with which I would like to show all of the class attributes that are NOT associations. I have the following XPath query:

resolveURI($classURI)/ownedAttribute[not(@association)]

This query returns all (2) of the attributes on the sample class EmailAddress, screen shot and xmi model fragment attached.

Diagram Fragment

Model XMI fragment

It seems that the association attribute is not recognized. This might be a namespace issue, but I'm not sure. Can anyone offer help?

qwerty_so
  • 35,448
  • 8
  • 62
  • 86

1 Answers1

0

First thing I'd try is changing the qualifier to check for nullness - e.g.

resolveURI($classURI)/ownedAttribute[@association = null]

Never know.. might work! :)

cheers Steve