prohibit inner inner objects with @base
attributes if it can be merged with its parent
#293
Labels
bug
Something isn't working
In EO 0.51.0 we introduced roll-bases.xsl that reduced amount of nested objects and merges their
@base
attributes if it's possible.Let's make a lint that checks if all possible bases are merged.
Imagine we have two objects:
If they are merged we get
<o base="YX"/>
.We can't merge them if:
X
does not start with.
(dot)X
starts with.
andY
starts with.
Y
has inner objectZ
that can't be merged withY
(apply all the rules forY-Z
pair)Y
has more than 1 any inner objectsY
has data (not emptytext()
)Y
is an abstract objectFor more details see the
roll-bases.xsl
itselfThe severity level is
warning
(temporary)The text was updated successfully, but these errors were encountered: