This commit changes the partitioning behaviour to allow for element
nodes within the first part, assuming that the first part is not being
restricted to an n·c·name. This is required to enable attribute
specifiers inside of the text of links. Element nodes are still not
allowed in the second part of the partition (the link target or
attribute value).