forked from rebolsource/r3
-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: revisited XML codec to better handle more "XML prolog" versions …
…(including 2 tests)
- Loading branch information
Showing
4 changed files
with
95 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!--inform the XML processor | ||
that an external DTD is referenced--> | ||
<?xml version="1.0" standalone="no" ?> | ||
|
||
<!--define the location of the | ||
external DTD using a relative URL address--> | ||
<!DOCTYPE document SYSTEM "subjects.dtd"> | ||
|
||
<document> | ||
<title>Subjects available in Mechanical Engineering.</title> | ||
<subjectID>2.303</subjectID> | ||
<subjectname>Fluid Mechanics</subjectname> | ||
<prerequisite> | ||
<subjectID>1.001</subjectID> | ||
<subjectname>Mathematics</subjectname> | ||
</prerequisite> | ||
<classes>4 hours per week (lectures and tutorials) for one | ||
semester.</classes> | ||
<assessment>tutorial assignments and one 2hr exam at end of | ||
course.</assessment> | ||
<syllabus> | ||
Fluid statics. The Bernoulli equation. Energy equation. Momentum | ||
equation. Differential Continuity equation. Differential Energy | ||
equation. Differential Momentum equation. Dimensional Analysis. | ||
Similitude. Laminar flow. Turbulent flow. Lift and Drag. Boundary | ||
layer theory. | ||
</syllabus> | ||
<textbooks> | ||
<author>Foobar</author> | ||
<booktitle>The Study of Fluid Mechanics</booktitle> | ||
</textbooks> | ||
</document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" standalone="no" ?> | ||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" | ||
"http://www.w3.org/TR/REC-html40/loose.dtd"> | ||
<HTML> | ||
<HEAD> | ||
<TITLE>A typical HTML file</TITLE> | ||
</HEAD> | ||
<BODY> | ||
This is the typical structure of an HTML file. It follows | ||
the notation of the HTML 4.0 specification, including tags | ||
that have been deprecated (hence the "transitional" label). | ||
</BODY> | ||
</HTML> |