Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding extra test files, just in case ... Daniel
- Loading branch information
Daniel Veillard
committed
Oct 10, 2006
1 parent
a37a6ad
commit 166e1a9
Showing
7 changed files
with
86 additions
and
0 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
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
<?xml version="1.0"?> | |||
<!DOCTYPE root [ | |||
<!ENTITY foo "abc"> | |||
<!ENTITY bar "def"> | |||
]> | |||
<root attribute="&foo;"> | |||
<element>&bar;</element> | |||
</root> |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
0 10 root 0 0 | |||
0 1 root 0 0 | |||
1 14 #text 0 1 | |||
|
|||
1 1 element 0 0 | |||
2 3 #text 0 1 def | |||
1 15 element 0 0 | |||
1 14 #text 0 1 | |||
|
|||
0 15 root 0 0 |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,10 @@ | |||
0 10 root 0 0 | |||
0 1 root 0 0 | |||
1 14 #text 0 1 | |||
|
|||
1 1 element 0 0 | |||
2 5 bar 0 0 | |||
1 15 element 0 0 | |||
1 14 #text 0 1 | |||
|
|||
0 15 root 0 0 |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
SAX.setDocumentLocator() | |||
SAX.startDocument() | |||
SAX.internalSubset(root, , ) | |||
SAX.entityDecl(foo, 1, (null), (null), abc) | |||
SAX.getEntity(foo) | |||
SAX.entityDecl(bar, 1, (null), (null), def) | |||
SAX.getEntity(bar) | |||
SAX.externalSubset(root, , ) | |||
SAX.getEntity(foo) | |||
SAX.startElement(root, attribute='&foo;') | |||
SAX.characters( | |||
, 4) | |||
SAX.startElement(element) | |||
SAX.getEntity(bar) | |||
SAX.characters(def, 3) | |||
SAX.reference(bar) | |||
SAX.endElement(element) | |||
SAX.characters( | |||
, 1) | |||
SAX.endElement(root) | |||
SAX.endDocument() |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,21 @@ | |||
SAX.setDocumentLocator() | |||
SAX.startDocument() | |||
SAX.internalSubset(root, , ) | |||
SAX.entityDecl(foo, 1, (null), (null), abc) | |||
SAX.getEntity(foo) | |||
SAX.entityDecl(bar, 1, (null), (null), def) | |||
SAX.getEntity(bar) | |||
SAX.externalSubset(root, , ) | |||
SAX.getEntity(foo) | |||
SAX.startElementNs(root, NULL, NULL, 0, 1, 0, attribute='&foo...', 5) | |||
SAX.characters( | |||
, 4) | |||
SAX.startElementNs(element, NULL, NULL, 0, 0, 0) | |||
SAX.getEntity(bar) | |||
SAX.characters(def, 3) | |||
SAX.reference(bar) | |||
SAX.endElementNs(element, NULL, NULL) | |||
SAX.characters( | |||
, 1) | |||
SAX.endElementNs(root, NULL, NULL) | |||
SAX.endDocument() |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
<?xml version="1.0"?> | |||
<!DOCTYPE root [ | |||
<!ENTITY foo "abc"> | |||
<!ENTITY bar "def"> | |||
]> | |||
<root attribute="abc"> | |||
<element>def</element> | |||
</root> |
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 | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,8 @@ | |||
<?xml version="1.0"?> | |||
<!DOCTYPE root [ | |||
<!ENTITY foo 'abc'> | |||
<!ENTITY bar 'def'> | |||
]> | |||
<root attribute="&foo;"> | |||
<element>&bar;</element> | |||
</root> |