mod jamesclark; use std::rc::Rc; use xrust::Node; use xrust::parser::xml; use xrust::trees::smite::{Node as SmiteNode}; use xrust::validators::relaxng::validate_relaxng; #[test] #[ignore] fn rngtestone(){ let s = " "; let d = " "; let doc = Rc::new(SmiteNode::new()); let _ = xml::parse(doc.clone(), d, None); let sch = Rc::new(SmiteNode::new()); let _ = xml::parse(sch.clone(), s, None); let result = validate_relaxng(&doc, &sch); assert!(result.is_ok()); }