M1503 - Integrate XML parse -Initial Steps

This commit is contained in:
jsharda 2015-10-30 16:50:15 -04:00
parent 50e0c36eeb
commit dca4e3730b
8 changed files with 81 additions and 6 deletions

View file

@ -0,0 +1,20 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![allow(unrooted_must_root)]
use dom::document::Document;
use url::Url;
use util::str::DOMString;
pub enum ParseContext {
Owner(Option<i32>)
}
pub fn parse_xml(document: &Document,
input: DOMString,
url: Url,
context: ParseContext) {
}