Skip to content

Commit

Permalink
Fix non-well-formed or invalid XML in several tests. Reduces nokogiri…
Browse files Browse the repository at this point in the history
…-java failures substantially.
  • Loading branch information
headius committed Apr 9, 2010
1 parent df9ad0c commit f762c3d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/xml/test_attribute_decl.rb
Expand Up @@ -9,7 +9,7 @@ def setup
<?xml version="1.0"?><?TEST-STYLE PIDATA?>
<!DOCTYPE staff SYSTEM "staff.dtd" [
<!ATTLIST br width CDATA "0">
<!ATTLIST a width CDATA >
<!ATTLIST a width CDATA "0">
<!ATTLIST payment type (check|cash) "cash">
]>
<root />
Expand Down
2 changes: 1 addition & 1 deletion test/xml/test_element_content.rb
Expand Up @@ -12,7 +12,7 @@ def setup
<!ELEMENT div1 (head, (p | list | note)*, div2*)>
<!ELEMENT div2 (tender:love)>
]>
</root>
<root/>
eoxml
@elements = @xml.internal_subset.children.find_all { |x|
x.type == 15
Expand Down
2 changes: 1 addition & 1 deletion test/xml/test_element_decl.rb
Expand Up @@ -14,7 +14,7 @@ def setup
<!ATTLIST br width CDATA "0">
<!ATTLIST br height CDATA "0">
]>
</root>
<root/>
eoxml
@elements = @xml.internal_subset.children.find_all { |x|
x.type == 15
Expand Down
2 changes: 1 addition & 1 deletion test/xml/test_entity_decl.rb
Expand Up @@ -9,7 +9,7 @@ def setup
<?xml version="1.0"?><?TEST-STYLE PIDATA?>
<!DOCTYPE staff SYSTEM "staff.dtd" [
<!ENTITY ent1 "es">
<!ENTITY nocontent >
<!ENTITY nocontent "">
]>
<root />
eoxml
Expand Down

0 comments on commit f762c3d

Please sign in to comment.