InvalidProcessingInstructionTarget for standalone="no"
flying-sheep opened this issue · comments
Philipp A. commented
parsing this:
extern crate sxd_document;
use sxd_document::parser::Parser;
fn main() {
let s = "<?xml version='1.0' encoding='UTF-8' standalone='no'?><doc/>";
let parser = Parser::new();
let doc = parser.parse(s);
println!("{:?}", doc)
}
yields
Err((2, [InvalidProcessingInstructionTarget]))
yup.
Philipp A. commented
hi, could you please put an release out for this?
and one thing i don’t understand: sxd-xpath’s Cargo.toml says it needs sxd-document = "0.1.0"
, but is happy with 0.1.1. shouldn’t we need syntax like "^0.1.1"
or "0.1"
for this? or does "0.1.0"
mean “compatible with” and there’s extra syntax for “exactly this version”
Jake Goulding commented
please put an release out for this
Done as 0.1.2
shouldn’t we need syntax like
From the crates.io docs:
If no operator is specified, this is the default requirement (e.g. 1.3 is the same as ^1.3).
Philipp A. commented
ah, great, thank you!