mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 02:28:12 +00:00
LibWeb: Remove outdated FIXME comment in Namespaces validate_and_extract
As step "2. Validate qualifiedName" got implemented in
bfa7aad0f6
, parts is known to have a
length of 2.
This commit is contained in:
parent
3ece3f3ed1
commit
3e7869d57d
1 changed files with 0 additions and 1 deletions
|
@ -120,7 +120,6 @@ ExceptionOr<QualifiedName> validate_and_extract(FlyString namespace_, FlyString
|
|||
// 5. If qualifiedName contains a U+003A (:), then strictly split the string on it and set prefix to the part before and localName to the part after.
|
||||
if (qualified_name.view().contains(':')) {
|
||||
auto parts = qualified_name.view().split_view(':');
|
||||
// FIXME: Handle parts > 2
|
||||
prefix = parts[0];
|
||||
local_name = parts[1];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue