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

Processing instructions should have a dedicated type #650

Open
Mingun opened this issue Sep 15, 2023 · 0 comments
Open

Processing instructions should have a dedicated type #650

Mingun opened this issue Sep 15, 2023 · 0 comments

Comments

@Mingun
Copy link
Collaborator

Mingun commented Sep 15, 2023

Currently we use BytesText for them, but this is a text that represents a text with character and entity references, but that references MUST NOT be recognized within processing instructions.

Mingun added a commit to Mingun/quick-xml that referenced this issue Nov 21, 2023
Although empty target name isnot allowed, we would check that (or change parsing)
the same way as currently we check the presence of mandatory `version` attribute
in XML declaration. This requires introducing separate type for PI content which
will be done in tafia#650

Fixed (3):
    syntax::pi::normal_empty::async_tokio
    syntax::pi::normal_empty::borrowed
    syntax::pi::normal_empty::buffered

failures (3):
    syntax::decl::normal1::async_tokio
    syntax::decl::normal1::borrowed
    syntax::decl::normal1::buffered
Mingun added a commit to Mingun/quick-xml that referenced this issue Nov 21, 2023
Although empty target name isnot allowed, we would check that (or change parsing)
the same way as currently we check the presence of mandatory `version` attribute
in XML declaration. This requires introducing separate type for PI content which
will be done in tafia#650

Fixed (3):
    syntax::pi::normal_empty::async_tokio
    syntax::pi::normal_empty::borrowed
    syntax::pi::normal_empty::buffered

failures (3):
    syntax::decl::normal1::async_tokio
    syntax::decl::normal1::borrowed
    syntax::decl::normal1::buffered
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant