Daniel Alley

Results 91 issues of Daniel Alley

Section 3.3.3 of the XML spec (the attribute value normalization section) defines that > > For each character, entity reference, or character reference in the unnormalized attribute value, beginning with...

Creating an attribute from a `(&[u8], &[u8])` performs no transformation (escaping) on the provided value, but creating an attribute from `(&str, &str)` does. This feels a bit too implicit. It...

enhancement
help wanted

enhancement
optimization

Unlike the unescape routines, the routines for escaping text don't currently utilize any SIMD accelleration. This should be possible to do via the [`jetscii`](https://docs.rs/jetscii/latest/jetscii/) crate. `memchr` is currently used by...

enhancement
help wanted
optimization

Hi, I've started using this library for a personal project, and I've found that it's difficult to figure out how my code should be structured. I think it would be...

help wanted
documentation

XML 1.0 disallows most kinds of control characters. XML 1.1 allows some control characters, but only when they've been encoded as numeric character references. There should probably be some way...

enhancement
help wanted

I have a project for which I will eventually (probably) want to provide C bindings. It would be enormously convenient if there was a variant of (or feature flag for)...

https://github.com/hsivonen/encoding_rs/blob/d4d7d2a99aac266ecf6938c3832aefaaf8c1e52b/src/lib.rs#L2974-L2980 Functionally, `decode()` and `decode_with_bom_removal()` seem pretty much the same? That doesn't seem correct? If there's a variant called "decode_with_bom_removal" then I would expect the standard variant *not* to remove...

We should provide an option which would address https://github.com/tafia/quick-xml/issues/285#issuecomment-1199756671 by trimming away `Text` events that do not have meaning to XML (e.g. whitespace between elements, or text prior to the...

enhancement