aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/parse/xml.rs
diff options
context:
space:
mode:
authorjsharda <jsharda@ncsu.edu>2015-10-30 16:50:15 -0400
committerjsharda <jsharda@ncsu.edu>2015-11-04 19:18:20 -0500
commitdca4e3730b537746b74adbd6e46327868d533a13 (patch)
treeda5b95c303fc9c8547cdbf837976a3b0d773c73c /components/script/parse/xml.rs
parent50e0c36eeb8cd52b90dba24b5b3692abc25d8d4d (diff)
downloadservo-dca4e3730b537746b74adbd6e46327868d533a13.tar.gz
servo-dca4e3730b537746b74adbd6e46327868d533a13.zip
M1503 - Integrate XML parse -Initial Steps
Diffstat (limited to 'components/script/parse/xml.rs')
-rw-r--r--components/script/parse/xml.rs20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/script/parse/xml.rs b/components/script/parse/xml.rs
new file mode 100644
index 00000000000..c741fd03306
--- /dev/null
+++ b/components/script/parse/xml.rs
@@ -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) {
+}