Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: java
Commits on May 7, 2010
  1. @yokolet
Commits on Apr 17, 2010
  1. @pmahoney
  2. @pmahoney

    Add methods to create a syntax error from a SAXParseException, attemp…

    pmahoney authored
    …ting to fill in line number and other fields as appropriate.
  3. @pmahoney
  4. @pmahoney
  5. @headius
  6. @headius
  7. @pmahoney

    Use ByteArrayInputStream when reading from string. Fixes odd splittin…

    pmahoney authored
    …g of strings by SAX parser. Patch from Charles Nutter.
  8. @pmahoney

    Implement create_internal_subset.

    pmahoney authored
    This just creates an empty DTD with a name and not much else.  Appears to
    be what libxml does as well, but I'm not completely certain.
  9. @pmahoney
  10. @pmahoney

    Implement create_external_subset.

    pmahoney authored
    This just creates an empty DTD with a name and not much else.  Appears to be what libxml does as well, but I'm not completely certain.
Commits on Apr 15, 2010
  1. @yokolet

    Add lib/nokogiri/html/element_description_defaults.rb to the list. Th…

    yokolet authored
    …is file is used only in pure Java version.
  2. @yokolet

    Fix namespace when a given fragment has valid one decleared in a base…

    yokolet authored
    … document. This solved an error raised from test_fragment_namespace_resolves_against_document_root in xml/test_document_fragment.rb.
    
    However, I changed the test case because this is fixed by text processing before parsing and unable to get the same Namespace instance.
Commits on Apr 14, 2010
  1. @yokolet

    Fix illegal namespace silently for DocumentFragment. This solved an e…

    yokolet authored
    …rror of test_fragment_invalid_namespace_is_silently_ignored in xml/test_document_fragment.rb."
Commits on Apr 13, 2010
  1. @pmahoney
Commits on Apr 12, 2010
  1. @yokolet

    Fix namespace when a node is replaced by another node. This resolved …

    yokolet authored
    …a failure raised from test_replace_with_default_namespaces in xml/test_node_reparenting.rb.
  2. @yokolet

    Fix dtd validation. This resolved errors of test_validate methods in …

    yokolet authored
    …xml/test_dtd.rb and xml/test_document.rb.
    
    This fix was really hard, and evatually I decided to add a rule for dtd validation and changed test_validate methods. To validate by dtd, dtdvalid option must be specified. Since dtd validation is done only when a document is parsed, nokogiri needs to know whether the document will be validated later or not when read/input the document. Perhaps, adding dtdvalid option is the best answer.
Commits on Apr 11, 2010
  1. @pmahoney
  2. @pmahoney
  3. @pmahoney

    When parsing from a string filename, properly construct the InputSour…

    pmahoney authored
    …ce so it can find a DTD file in the same path.
  4. @pmahoney
  5. @pmahoney

    Refactor XmlNode#rbNew to call an overrideable init method to standar…

    pmahoney authored
    …dize initialization behavior. Implement init methods to fix errors in test_subclass.rb.
Commits on Apr 10, 2010
  1. @yokolet

    Improve impl when noblanks option is set. Previous fix didn't work wh…

    yokolet authored
    …en data was given as a file. Plus, stop weird text processing by changing test data to fit to xerces.
  2. @yokolet

    Change test cases that were thought to be unable to realise on pure J…

    yokolet authored
    …ava version because of the difference between libxml and xerces.
  3. @yokolet

    Fix blank_p method of XmlNode so that this method returns true when t…

    yokolet authored
    …he content is blank. This resolved 2 failures raised from xml/test_document.rb and 2 failures from html/test_document.rb.
Commits on Apr 9, 2010
  1. @headius

    Add ElementDecl#element_type and EntityDecl#entity_type. Not sure if …

    headius authored
    …they're right, but they pass now.
  2. @headius

    Fix non-well-formed or invalid XML in several tests. Reduces nokogiri…

    headius authored
    …-java failures substantially.
  3. @yokolet

    Fix test_remove_namespaces in xml/test_docuemnt by adding a new metho…

    yokolet authored
    …d, remove_namespaces in XmlDocument.
  4. @headius
  5. @yokolet
  6. @yokolet

    Fix namespace objects' creation. This resovled 2 failures and an erro…

    yokolet authored
    …r of test_*_splode_* in xml/test_node_set.rb.
    
    However, weird 4 erros have started reporting from test_relax_ng.rb by rake test. All tests have passed when test_relax_ng.rb gets run from test_jruby.rb, but 4 of them report errors from rake test. Perhaps, JRuby caches some sort of states that cause errors. This is really hard to debug since test_relax_ng.rb itself doesn't have any problem. Besides, so many tests run before test_relax_ng.rb in rake test, which makes it hard to figure out exactly what test is the culprit.
  7. @pmahoney
Commits on Apr 6, 2010
  1. @yokolet

    Fix public id when it isn't followd by system id. This solves a failu…

    yokolet authored
    …re of test_external_id in xml/test_dtd.rb.
Commits on Apr 4, 2010
  1. @yokolet

    Fix namespace when adding nodes to another node/doc. This resolved tw…

    yokolet authored
    …o failures in test_node.rb.
Commits on Apr 2, 2010
  1. @yokolet

    Fix attribute list in saveContent. This resolved a failure of test_du…

    yokolet authored
    …plicate_node_removes_namespace in xml/test_node.rb.
Something went wrong with that request. Please try again.