diff options
author | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-16 22:12:42 +0000 |
---|---|---|
committer | darylm503 <darylm503@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-04-16 22:12:42 +0000 |
commit | 4710c53dcad1ebf3755f3efb9e80ac24bd72a9b2 (patch) | |
tree | 2d17d2388a78082e32f6a97120d707328143543b /AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata | |
parent | cbc6b5e54599c7391ece99ad3c5313f4dd4ddda6 (diff) | |
download | edk2-platforms-4710c53dcad1ebf3755f3efb9e80ac24bd72a9b2.tar.xz |
AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of Python 2.7.3 made them unavailable from the python.org web site.
These files are a subset of the python-2.7.2.tgz distribution from python.org. Changed files from PyMod-2.7.2 have been copied into the corresponding directories of this tree, replacing the original files in the distribution.
Signed-off-by: daryl.mcdaniel@intel.com
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13197 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata')
4 files changed, 243 insertions, 0 deletions
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple-ns.xml b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple-ns.xml new file mode 100644 index 0000000000..e4c1ac68d0 --- /dev/null +++ b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple-ns.xml @@ -0,0 +1,7 @@ +<?pi data?>
+<!-- comment -->
+<root xmlns='namespace'>
+ <element key='value'>text</element>
+ <element>text</element>tail
+ <empty-element/>
+</root>
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple.xml b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple.xml new file mode 100644 index 0000000000..2315e7878a --- /dev/null +++ b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/simple.xml @@ -0,0 +1,6 @@ +<!-- comment -->
+<root>
+ <element key='value'>text</element>
+ <element>text</element>tail
+ <empty-element/>
+</root>
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml new file mode 100644 index 0000000000..a6d389e758 --- /dev/null +++ b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml @@ -0,0 +1,115 @@ +<?xml version="1.0"?>
+<HTML xmlns:pp="http://www.isogen.com/paul/post-processor">
+<TITLE>Introduction to XSL</TITLE>
+<H1>Introduction to XSL</H1>
+
+
+
+ <HR/>
+ <H2>Overview
+</H2>
+ <UL>
+
+ <LI>1.Intro</LI>
+
+ <LI>2.History</LI>
+
+ <LI>3.XSL Basics</LI>
+
+ <LI>Lunch</LI>
+
+ <LI>4.An XML Data Model</LI>
+
+ <LI>5.XSL Patterns</LI>
+
+ <LI>6.XSL Templates</LI>
+
+ <LI>7.XSL Formatting Model
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR/>
+ <H2>Intro</H2>
+ <UL>
+
+ <LI>Who am I?</LI>
+
+ <LI>Who are you?</LI>
+
+ <LI>Why are we here?
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR/>
+ <H2>History: XML and SGML</H2>
+ <UL>
+
+ <LI>XML is a subset of SGML.</LI>
+
+ <LI>SGML allows the separation of abstract content from formatting.</LI>
+
+ <LI>Also one of XML's primary virtues (in the doc publishing domain).
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR/>
+ <H2>History: What are stylesheets?</H2>
+ <UL>
+
+ <LI>Stylesheets specify the formatting of SGML/XML documents.</LI>
+
+ <LI>Stylesheets put the "style" back into documents.</LI>
+
+ <LI>New York Times content+NYT Stylesheet = NYT paper
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR/>
+ <H2>History: FOSI</H2>
+ <UL>
+
+ <LI>FOSI: "Formatted Output Specification Instance"
+<UL>
+ <LI>MIL-STD-28001
+ </LI>
+
+ <LI>FOSI's are SGML documents
+ </LI>
+
+ <LI>A stylesheet for another document
+ </LI>
+</UL></LI>
+
+ <LI>Obsolete but implemented...
+</LI>
+
+ </UL>
+
+
+
+
+</HTML>
diff --git a/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml.out b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml.out new file mode 100644 index 0000000000..30beed7c89 --- /dev/null +++ b/AppPkg/Applications/Python/Python-2.7.2/Lib/test/xmltestdata/test.xml.out @@ -0,0 +1,115 @@ +<?xml version="1.0" encoding="iso-8859-1"?>
+<HTML xmlns:pp="http://www.isogen.com/paul/post-processor">
+<TITLE>Introduction to XSL</TITLE>
+<H1>Introduction to XSL</H1>
+
+
+
+ <HR></HR>
+ <H2>Overview
+</H2>
+ <UL>
+
+ <LI>1.Intro</LI>
+
+ <LI>2.History</LI>
+
+ <LI>3.XSL Basics</LI>
+
+ <LI>Lunch</LI>
+
+ <LI>4.An XML Data Model</LI>
+
+ <LI>5.XSL Patterns</LI>
+
+ <LI>6.XSL Templates</LI>
+
+ <LI>7.XSL Formatting Model
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR></HR>
+ <H2>Intro</H2>
+ <UL>
+
+ <LI>Who am I?</LI>
+
+ <LI>Who are you?</LI>
+
+ <LI>Why are we here?
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR></HR>
+ <H2>History: XML and SGML</H2>
+ <UL>
+
+ <LI>XML is a subset of SGML.</LI>
+
+ <LI>SGML allows the separation of abstract content from formatting.</LI>
+
+ <LI>Also one of XML's primary virtues (in the doc publishing domain).
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR></HR>
+ <H2>History: What are stylesheets?</H2>
+ <UL>
+
+ <LI>Stylesheets specify the formatting of SGML/XML documents.</LI>
+
+ <LI>Stylesheets put the "style" back into documents.</LI>
+
+ <LI>New York Times content+NYT Stylesheet = NYT paper
+</LI>
+
+ </UL>
+
+
+
+
+
+
+ <HR></HR>
+ <H2>History: FOSI</H2>
+ <UL>
+
+ <LI>FOSI: "Formatted Output Specification Instance"
+<UL>
+ <LI>MIL-STD-28001
+ </LI>
+
+ <LI>FOSI's are SGML documents
+ </LI>
+
+ <LI>A stylesheet for another document
+ </LI>
+</UL></LI>
+
+ <LI>Obsolete but implemented...
+</LI>
+
+ </UL>
+
+
+
+
+</HTML>
\ No newline at end of file |