//! //! Test Schema Loading, XML Validating //! use libxml::schemas::SchemaParserContext; use libxml::schemas::SchemaValidationContext; use libxml::parser::Parser; static NOTE_SCHEMA: &'static str = r#" "#; static STOCK_SCHEMA: &'static str = r#" "#; static VALID_NOTE_XML: &'static str = r#" Tove Jani Reminder Don't forget me this weekend! "#; static INVALID_NOTE_XML: &'static str = r#" Tove Jani Reminder Don't forget me this weekend! "#; static INVALID_STOCK_XML: &'static str = r#" 2014-01-01 NOT A NUMBER 2014-01-02 540.98 NOT A DATE 543.93