Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling of prefix and xmlns data #104

Open
noahbald opened this issue Feb 8, 2025 · 0 comments
Open

Handling of prefix and xmlns data #104

noahbald opened this issue Feb 8, 2025 · 0 comments
Labels
blocked This will not be worked on... for now bug Something isn't working

Comments

@noahbald
Copy link
Owner

noahbald commented Feb 8, 2025

There are several limitations of html5ever/rcdom that are blocking the processing/manipulation of xmlns and prefix features in OXVG.

  • xmlns attributes are not parsed into the attrs field of NodeData::Element, instead it's a readonly property of ns in QualName
  • xmlns prefixed attributes are moved to element with matching ns
  • xmlns prefixed attributes removed when not used in an element name (even when attributes use the ns)

Related servo/html5ever#569

@noahbald noahbald added bug Something isn't working blocked This will not be worked on... for now labels Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This will not be worked on... for now bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant