Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
None
-
6.2.2
-
None
-
-
c1e64f5e55 (pyside/pyside-setup/dev) 1682afa981 (pyside/pyside-setup/6.2) 1682afa981 (pyside/tqtc-pyside-setup/6.2) c1e64f5e55 (pyside/tqtc-pyside-setup/dev) c1e64f5e55 (pyside/tqtc-pyside-setup/tqtc/dev) 1682afa981 (pyside/pyside-setup/6.2.3)
Description
It was noticed that the class="..." attribute used in the <conversion-rule class="" /> is dissimilar to the 'class attribute' used in the <inject-code class=""/> tag.
Essentially it was noticed that, <conversion-rule class="native"> is synonymous with <inject-code class="target">. This contrasting use of 'class' attribute creates confusion among user.
<conversion-rule class="native"> is synonymous with <conversion rule> <target-to-native /> </conversion-rule>
<inject-code class="native" /> is synonymous with <inject-code "native-to-target" />
Solution:
For the moment, the solution is to add in the documentation for <conversion-rule> what each 'class' values mean.
Note:
It is probably best to have the same meaning for the 'class' attribute across all tags.