Closed mischov closed 7 years ago
split_ns_and_tag uses split_at, which means that if a namespace exists the : separating ns and tag is included in tag.
split_ns_and_tag
split_at
:
Don't include the :.
Either trim or use method that doesn't include, such as splitn.
splitn
Problem
split_ns_and_tag
usessplit_at
, which means that if a namespace exists the:
separating ns and tag is included in tag.Solution
Don't include the
:
.Either trim or use method that doesn't include, such as
splitn
.