chadpath 0.3.2

XPath 1.0 / XSLT engine — a fork of xrust (Apache-2.0) with XPath positional-predicate correctness fixes and parser performance improvements. Used by chadselect.
Documentation
use qualname::QName;
use chadpath::item::{Node, NodeType};
use chadpath::item_node_tests;
use chadpath::item_value_tests;
use chadpath::trees::smite::RNode;

mod node;
mod smite;

item_value_tests!(RNode);

// Item Node tests

item_node_tests!(smite::make_empty_doc, smite::make_doc, smite::make_sd_raw);

#[test]
fn node_get_attr_node() {
    node::get_attr_node::<RNode, _>(smite::make_empty_doc).expect("test failed")
}
#[test]
fn node_to_xml_special_1() {
    node::to_xml_special_1::<RNode, _>(smite::make_empty_doc).expect("test failed")
}
#[test]
fn node_to_xml_special_2() {
    node::to_xml_special_2::<RNode, _>(smite::make_empty_doc).expect("test failed")
}