-
Notifications
You must be signed in to change notification settings - Fork 36
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
Parsing files with xml:space
#46
Comments
Yes, it should be the case, but it appears I never set that up! |
First few days using Rust here ( loving it ) but hit this issue. I have a fork where I've added this as a failing test to #[test]
fn support_standard_xml_namespace_prefix() {
full_parse("<a xml:space=\"preserve\"/>").expect("This should parse.");
} Until this ticket is resolved, is there a way of working around this as in the original question? |
This does not yet *do* anything with the attributes; it only stops them from preventing a successful parse. Related to #46
This is the point where I get embarrassed. I had a commit for this that I forgot to push :-( I've now released 0.2.4 which allows parsing these attributes, but does not actually use them for anything interesting. |
@shepmaster awesome +1000 :) just parsing is good enough for now. Eventually (if needed) probably honouring the original whitespace when writing out the doc again would be good. |
I am getting
UnknownNamespacePrefix
when trying to parse a file which contains axml:space
attribute. It seems that the xml namespace should be always bounded. Is that the case? Is there a way to achieve it (i.e. to tell the parser that certain namespaces are defined elsewhere)(Moved from @hgrecco's issue shepmaster/sxd-xpath#112)
The text was updated successfully, but these errors were encountered: