forked from mirrors/gecko-dev
Hi, This is for NCSU fall 15 project for Mozilla. We have included changes for initial steps in this pull request. https://github.com/servo/servo/wiki/Integrate-xml5ever Kindly review ! Source-Repo: https://github.com/servo/servo Source-Revision: 65a1a28860ac8858a02be6d26b262a61d040beb1 --HG-- rename : servo/components/script/dom/webidls/ServoHTMLParser.webidl => servo/components/script/dom/webidls/ServoXMLParser.webidl
20 lines
502 B
Rust
20 lines
502 B
Rust
/* 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) {
|
|
}
|