vtd_xml 0.0.3-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +23 -0
- data/LICENSE.txt +20 -0
- data/README.md +29 -0
- data/Rakefile +20 -0
- data/bundle/bundler/setup.rb +10 -0
- data/bundle/jruby/1.9/bin/convert_to_should_syntax +23 -0
- data/bundle/jruby/1.9/bin/nokogiri +23 -0
- data/bundle/jruby/1.9/bin/rake +23 -0
- data/bundle/jruby/1.9/build_info/mini_portile-0.5.2.info +1 -0
- data/bundle/jruby/1.9/build_info/nokogiri-1.6.1-java.info +1 -0
- data/bundle/jruby/1.9/build_info/rake-10.1.1.info +1 -0
- data/bundle/jruby/1.9/build_info/shoulda-context-1.1.6.info +1 -0
- data/bundle/jruby/1.9/cache/mini_portile-0.5.2.gem +0 -0
- data/bundle/jruby/1.9/cache/nokogiri-1.6.1-java.gem +0 -0
- data/bundle/jruby/1.9/cache/rake-10.1.1.gem +0 -0
- data/bundle/jruby/1.9/cache/shoulda-context-1.1.6.gem +0 -0
- data/bundle/jruby/1.9/gems/mini_portile-0.5.2/History.txt +65 -0
- data/bundle/jruby/1.9/gems/mini_portile-0.5.2/LICENSE.txt +20 -0
- data/bundle/jruby/1.9/gems/mini_portile-0.5.2/README.rdoc +169 -0
- data/bundle/jruby/1.9/gems/mini_portile-0.5.2/Rakefile +44 -0
- data/bundle/jruby/1.9/gems/mini_portile-0.5.2/examples/Rakefile +55 -0
- data/bundle/jruby/1.9/gems/mini_portile-0.5.2/lib/mini_portile.rb +404 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/CHANGELOG.ja.rdoc +828 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/CHANGELOG.rdoc +835 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/C_CODING_STYLE.rdoc +33 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/Gemfile +21 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/Manifest.txt +315 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/README.ja.rdoc +106 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/README.rdoc +175 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ROADMAP.md +90 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/Rakefile +248 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/STANDARD_RESPONSES.md +47 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/Y_U_NO_GEMSPEC.md +155 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/bin/nokogiri +78 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/build_all +105 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/dependencies.yml +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/EncodingHandler.java +124 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/HtmlDocument.java +189 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/HtmlElementDescription.java +145 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/HtmlEntityLookup.java +79 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/HtmlSaxParserContext.java +259 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/NokogiriService.java +605 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlAttr.java +190 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlAttributeDecl.java +130 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlCdata.java +84 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlComment.java +95 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlDocument.java +598 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlDocumentFragment.java +210 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlDtd.java +480 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlElement.java +88 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlElementContent.java +382 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlElementDecl.java +152 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlEntityDecl.java +162 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlEntityReference.java +101 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlNamespace.java +216 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlNode.java +1637 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlNodeSet.java +270 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlProcessingInstruction.java +99 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlReader.java +532 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlRelaxng.java +144 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlSaxParserContext.java +356 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlSaxPushParser.java +232 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlSchema.java +324 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlSyntaxError.java +136 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlText.java +107 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XmlXpathContext.java +203 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/XsltStylesheet.java +360 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/ClosedStreamException.java +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/HtmlDomParserContext.java +243 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java +151 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriDocumentCache.java +73 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriDomParser.java +116 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java +109 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriEntityResolver.java +123 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriErrorHandler.java +86 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriHandler.java +341 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriHelpers.java +826 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriNamespaceCache.java +180 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriNamespaceContext.java +130 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriNonStrictErrorHandler.java +98 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriNonStrictErrorHandler4NekoHtml.java +121 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriStrictErrorHandler.java +79 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriXPathFunction.java +141 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriXPathFunctionResolver.java +73 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriXPathVariableResolver.java +67 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/NokogiriXsltErrorListener.java +87 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/ParserContext.java +289 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/ReaderNode.java +534 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/SaveContextVisitor.java +780 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/SchemaErrorHandler.java +76 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/UncloseableInputStream.java +102 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/XmlDeclHandler.java +42 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/XmlDomParserContext.java +275 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/XmlSaxParser.java +65 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/java/nokogiri/internals/XsltExtensionFunction.java +72 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/depend +358 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/extconf.rb +195 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_document.c +170 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_document.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_element_description.c +279 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_element_description.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_entity_lookup.c +32 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_entity_lookup.h +8 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_sax_parser_context.c +116 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_sax_parser_context.h +11 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_sax_push_parser.c +87 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/html_sax_push_parser.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/nokogiri.c +143 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/nokogiri.h +164 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_attr.c +94 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_attr.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_attribute_decl.c +70 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_attribute_decl.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_cdata.c +56 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_cdata.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_comment.c +54 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_comment.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_document.c +576 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_document.h +23 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_document_fragment.c +48 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_document_fragment.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_dtd.c +202 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_dtd.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_element_content.c +123 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_element_content.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_element_decl.c +69 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_element_decl.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_encoding_handler.c +79 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_encoding_handler.h +8 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_entity_decl.c +110 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_entity_decl.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_entity_reference.c +52 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_entity_reference.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_io.c +56 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_io.h +11 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_libxml2_hacks.c +112 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_libxml2_hacks.h +12 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_namespace.c +78 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_namespace.h +13 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_node.c +1534 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_node.h +13 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_node_set.c +467 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_node_set.h +14 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_processing_instruction.c +56 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_processing_instruction.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_reader.c +681 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_reader.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_relax_ng.c +161 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_relax_ng.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_sax_parser.c +312 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_sax_parser.h +39 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_sax_parser_context.c +222 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_sax_parser_context.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_sax_push_parser.c +115 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_sax_push_parser.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_schema.c +205 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_schema.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_syntax_error.c +58 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_syntax_error.h +13 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_text.c +52 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_text.h +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_xpath_context.c +319 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xml_xpath_context.h +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xslt_stylesheet.c +270 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/ext/nokogiri/xslt_stylesheet.h +14 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/isorelax.jar +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/jing.jar +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nekodtd.jar +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nekohtml.jar +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/node.rb +102 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/parser.rb +720 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/parser.y +258 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/parser_extras.rb +91 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/syntax_error.rb +7 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/tokenizer.rb +152 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/tokenizer.rex +55 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css/xpath_visitor.rb +171 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/css.rb +27 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/decorators/slop.rb +35 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/builder.rb +35 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/document.rb +254 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/document_fragment.rb +41 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/element_description.rb +23 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/element_description_defaults.rb +671 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/entity_lookup.rb +13 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/sax/parser.rb +52 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/sax/parser_context.rb +16 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html/sax/push_parser.rb +16 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/html.rb +37 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/nokogiri.jar +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/syntax_error.rb +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/version.rb +106 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/attr.rb +14 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/attribute_decl.rb +18 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/builder.rb +443 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/cdata.rb +11 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/character_data.rb +7 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/document.rb +279 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/document_fragment.rb +112 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/dtd.rb +22 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/element_content.rb +36 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/element_decl.rb +13 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/entity_decl.rb +19 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/namespace.rb +13 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/node/save_options.rb +61 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/node.rb +957 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/node_set.rb +355 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/notation.rb +6 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/parse_options.rb +98 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/pp/character_data.rb +18 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/pp/node.rb +56 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/pp.rb +2 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/processing_instruction.rb +8 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/reader.rb +112 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/relax_ng.rb +32 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/sax/document.rb +171 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/sax/parser.rb +123 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/sax/parser_context.rb +16 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/sax/push_parser.rb +60 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/sax.rb +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/schema.rb +63 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/syntax_error.rb +47 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/text.rb +9 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/xpath/syntax_error.rb +11 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/xpath.rb +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml/xpath_context.rb +16 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xml.rb +73 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xslt/stylesheet.rb +25 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri/xslt.rb +56 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/nokogiri.rb +128 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/xercesImpl.jar +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/lib/xsd/xmlparser/nokogiri.rb +102 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/tasks/cross_compile.rb +134 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/tasks/nokogiri.org.rb +24 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/tasks/test.rb +95 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/css/test_nthiness.rb +159 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/css/test_parser.rb +341 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/css/test_tokenizer.rb +198 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/css/test_xpath_visitor.rb +91 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/decorators/test_slop.rb +16 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/2ch.html +108 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/address_book.rlx +12 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/address_book.xml +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/bar/bar.xsd +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/bogus.xml +0 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/dont_hurt_em_why.xml +422 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/encoding.html +82 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/encoding.xhtml +84 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/exslt.xml +8 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/exslt.xslt +35 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/foo/foo.xsd +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/metacharset.html +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/noencoding.html +47 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/po.xml +32 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/po.xsd +66 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/saml/saml20assertion_schema.xsd +283 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/saml/saml20protocol_schema.xsd +302 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/saml/xenc_schema.xsd +146 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/saml/xmldsig_schema.xsd +318 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/shift_jis.html +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/shift_jis.xml +5 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/snuggles.xml +3 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/staff.dtd +10 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/staff.xml +59 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/staff.xslt +32 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/test_document_url/bar.xml +2 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/test_document_url/document.dtd +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/test_document_url/document.xml +6 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/tlm.html +850 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/to_be_xincluded.xml +2 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/valid_bar.xml +2 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/files/xinclude.xml +4 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/helper.rb +154 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/sax/test_parser.rb +141 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/sax/test_parser_context.rb +46 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_builder.rb +164 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_document.rb +552 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_document_encoding.rb +138 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_document_fragment.rb +261 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_element_description.rb +105 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_named_characters.rb +14 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_node.rb +196 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/html/test_node_encoding.rb +27 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/namespaces/test_additional_namespaces_in_builder_doc.rb +14 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/namespaces/test_namespaces_in_builder_doc.rb +75 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/namespaces/test_namespaces_in_created_doc.rb +75 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/namespaces/test_namespaces_in_parsed_doc.rb +66 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_convert_xpath.rb +135 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_css_cache.rb +45 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_encoding_handler.rb +46 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_memory_leak.rb +156 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_nokogiri.rb +132 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_reader.rb +555 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_soap4r_sax.rb +52 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/test_xslt_transforms.rb +254 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/node/test_save_options.rb +28 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/node/test_subclass.rb +44 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/sax/test_parser.rb +366 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/sax/test_parser_context.rb +106 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/sax/test_push_parser.rb +157 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_attr.rb +64 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_attribute_decl.rb +86 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_builder.rb +306 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_c14n.rb +151 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_cdata.rb +48 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_comment.rb +29 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_document.rb +868 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_document_encoding.rb +28 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_document_fragment.rb +223 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_dtd.rb +103 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_dtd_encoding.rb +33 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_element_content.rb +56 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_element_decl.rb +73 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_entity_decl.rb +122 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_entity_reference.rb +245 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_namespace.rb +95 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_node.rb +1137 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_node_attributes.rb +96 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_node_encoding.rb +107 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_node_inheritance.rb +32 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_node_reparenting.rb +374 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_node_set.rb +755 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_parse_options.rb +64 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_processing_instruction.rb +30 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_reader_encoding.rb +142 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_relax_ng.rb +60 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_schema.rb +103 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_syntax_error.rb +12 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_text.rb +45 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_unparented_node.rb +422 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_xinclude.rb +83 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xml/test_xpath.rb +295 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xslt/test_custom_functions.rb +133 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test/xslt/test_exception_handling.rb +37 -0
- data/bundle/jruby/1.9/gems/nokogiri-1.6.1-java/test_all +81 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/CHANGES +530 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/MIT-LICENSE +21 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/README.rdoc +187 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/Rakefile +374 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/TODO +21 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/bin/rake +33 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/command_line_usage.rdoc +152 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/example/Rakefile1 +38 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/example/Rakefile2 +35 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/example/a.c +6 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/example/b.c +6 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/example/main.c +11 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/glossary.rdoc +51 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/jamis.rb +591 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/proto_rake.rdoc +127 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/rake.1.gz +0 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/rakefile.rdoc +617 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/rational.rdoc +151 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.4.14.rdoc +23 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.4.15.rdoc +35 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.5.0.rdoc +53 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.5.3.rdoc +78 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.5.4.rdoc +46 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.6.0.rdoc +141 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.7.0.rdoc +119 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.7.1.rdoc +59 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.7.2.rdoc +121 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.7.3.rdoc +47 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.0.rdoc +114 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.2.rdoc +165 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.3.rdoc +112 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.4.rdoc +147 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.5.rdoc +53 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.6.rdoc +55 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.8.7.rdoc +55 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.0.rdoc +112 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.1.rdoc +52 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.2.2.rdoc +55 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.2.rdoc +49 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.3.rdoc +102 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.4.rdoc +110 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.5.rdoc +114 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-0.9.6.rdoc +127 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-10.0.0.rdoc +178 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-10.0.1.rdoc +187 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-10.0.2.rdoc +191 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-10.0.3.rdoc +191 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/doc/release_notes/rake-10.1.0.rdoc +61 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/install.rb +80 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/alt_system.rb +108 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/application.rb +728 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/backtrace.rb +20 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/clean.rb +55 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/cloneable.rb +16 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/contrib/compositepublisher.rb +21 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/contrib/ftptools.rb +139 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/contrib/publisher.rb +73 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/contrib/rubyforgepublisher.rb +16 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/contrib/sshpublisher.rb +50 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/contrib/sys.rb +2 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/default_loader.rb +10 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/dsl_definition.rb +157 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/early_time.rb +18 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/ext/core.rb +28 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/ext/module.rb +0 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/ext/string.rb +166 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/ext/time.rb +15 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/file_creation_task.rb +24 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/file_list.rb +416 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/file_task.rb +46 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/file_utils.rb +116 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/file_utils_ext.rb +144 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/gempackagetask.rb +2 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/invocation_chain.rb +57 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/invocation_exception_mixin.rb +16 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/linked_list.rb +103 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/loaders/makefile.rb +40 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/multi_task.rb +13 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/name_space.rb +25 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/packagetask.rb +190 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/pathmap.rb +1 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/phony.rb +15 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/private_reader.rb +20 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/promise.rb +99 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/pseudo_status.rb +29 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/rake_module.rb +37 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/rake_test_loader.rb +22 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/rdoctask.rb +2 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/ruby182_test_unit_fix.rb +27 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/rule_recursion_overflow_error.rb +20 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/runtest.rb +22 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/scope.rb +42 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/task.rb +378 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/task_argument_error.rb +7 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/task_arguments.rb +89 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/task_manager.rb +297 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/tasklib.rb +22 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/testtask.rb +201 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/thread_history_display.rb +48 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/thread_pool.rb +161 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/trace_output.rb +22 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/version.rb +9 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake/win32.rb +56 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/lib/rake.rb +73 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/file_creation.rb +34 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/helper.rb +128 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/support/rakefile_definitions.rb +444 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/support/ruby_runner.rb +33 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_private_reader.rb +42 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake.rb +40 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_application.rb +517 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_application_options.rb +457 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_backtrace.rb +113 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_clean.rb +46 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_definitions.rb +79 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_directory_task.rb +57 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_dsl.rb +40 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_early_time.rb +31 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_extension.rb +59 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_file_creation_task.rb +56 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_file_list.rb +627 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_file_list_path_map.rb +8 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_file_task.rb +122 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_file_utils.rb +309 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_ftp_file.rb +74 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_functional.rb +466 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_invocation_chain.rb +64 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_linked_list.rb +84 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_makefile_loader.rb +46 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_multi_task.rb +58 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_name_space.rb +43 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_package_task.rb +79 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_path_map.rb +168 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_path_map_explode.rb +34 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_path_map_partial.rb +18 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_pseudo_status.rb +21 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_rake_test_loader.rb +20 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_reduce_compat.rb +26 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_require.rb +40 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_rules.rb +362 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_scope.rb +44 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task.rb +376 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task_argument_parsing.rb +103 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task_arguments.rb +121 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task_lib.rb +9 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task_manager.rb +158 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task_manager_argument_resolution.rb +19 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_task_with_arguments.rb +171 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_test_task.rb +119 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_thread_pool.rb +142 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_top_level_functions.rb +71 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_rake_win32.rb +72 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_thread_history_display.rb +101 -0
- data/bundle/jruby/1.9/gems/rake-10.1.1/test/test_trace_output.rb +52 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/Appraisals +21 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/CONTRIBUTING.md +38 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/Gemfile +3 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/MIT-LICENSE +22 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/README.md +54 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/Rakefile +21 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/bin/convert_to_should_syntax +42 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/3.0.gemfile +7 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/3.0.gemfile.lock +91 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/3.1.gemfile +9 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/3.1.gemfile.lock +112 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/3.2.gemfile +9 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/3.2.gemfile.lock +111 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/4.0.gemfile +9 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/gemfiles/4.0.gemfile.lock +107 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/init.rb +1 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/assertions.rb +96 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/autoload_macros.rb +46 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/context.rb +481 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/proc_extensions.rb +14 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/tasks/list_tests.rake +29 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/tasks/yaml_to_shoulda.rake +28 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/tasks.rb +3 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context/version.rb +5 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda/context.rb +33 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/lib/shoulda-context.rb +1 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/rails/init.rb +4 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/shoulda-context.gemspec +27 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/tasks/shoulda.rake +1 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/fake_rails_root/test/shoulda_macros/custom_macro.rb +6 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/shoulda/autoload_macro_test.rb +18 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/shoulda/context_test.rb +360 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/shoulda/convert_to_should_syntax_test.rb +63 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/shoulda/helpers_test.rb +190 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/shoulda/should_test.rb +291 -0
- data/bundle/jruby/1.9/gems/shoulda-context-1.1.6/test/test_helper.rb +11 -0
- data/bundle/jruby/1.9/specifications/mini_portile-0.5.2.gemspec +22 -0
- data/bundle/jruby/1.9/specifications/nokogiri-1.6.1-java.gemspec +69 -0
- data/bundle/jruby/1.9/specifications/rake-10.1.1.gemspec +35 -0
- data/bundle/jruby/1.9/specifications/shoulda-context-1.1.6.gemspec +44 -0
- data/lib/vtd-xml-2.11.jar +0 -0
- data/lib/vtd_xml/document.rb +124 -0
- data/lib/vtd_xml/extraction_error.rb +4 -0
- data/lib/vtd_xml/modify_error.rb +5 -0
- data/lib/vtd_xml/parse_error.rb +5 -0
- data/lib/vtd_xml/version.rb +4 -0
- data/lib/vtd_xml/xpath_error.rb +4 -0
- data/lib/vtd_xml.rb +8 -0
- data/pkg/vtd_xml-0.0.3-java.gem +0 -0
- data/test/test_load_paths.rb +18 -0
- data/test/unit/vtd_xml/document_test.rb +266 -0
- data/vtd_xml.gemspec +25 -0
- data/vtd_xml.iml +16 -0
- metadata +648 -0
@@ -0,0 +1,33 @@
|
|
1
|
+
= C/C++ mode style for Nokogiri
|
2
|
+
|
3
|
+
Please don't propose commits that only change whitespace. However, if your
|
4
|
+
commit touches a function or section that is not using MRI Ruby conventions,
|
5
|
+
feel free to update whitespace in the surrounding code.
|
6
|
+
|
7
|
+
|
8
|
+
= WHITESPACE:
|
9
|
+
|
10
|
+
* indent level: 2
|
11
|
+
* indent type: Always spaces
|
12
|
+
* line Breaks: LF
|
13
|
+
|
14
|
+
This style can be automatically applied by running:
|
15
|
+
|
16
|
+
astyle --indent=spaces=2 --style=1tbs --keep-one-line-blocks $(ack -f --type=cpp --type=cc ext/nokogiri)
|
17
|
+
|
18
|
+
|
19
|
+
= FUNCTION DECLARATION:
|
20
|
+
|
21
|
+
ANSI C style:
|
22
|
+
|
23
|
+
type name(args)
|
24
|
+
{
|
25
|
+
declarations
|
26
|
+
|
27
|
+
code
|
28
|
+
}
|
29
|
+
|
30
|
+
= SOURCES:
|
31
|
+
|
32
|
+
* <3<3<3
|
33
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- ruby -*-
|
2
|
+
|
3
|
+
# DO NOT EDIT THIS FILE. Instead, edit Rakefile, and run `rake bundler:gemfile`.
|
4
|
+
|
5
|
+
source "https://rubygems.org/"
|
6
|
+
|
7
|
+
|
8
|
+
gem "hoe-bundler", ">=1.1", :group => [:development, :test]
|
9
|
+
gem "hoe-debugging", ">=1.0.3", :group => [:development, :test]
|
10
|
+
gem "hoe-gemspec", ">=1.0", :group => [:development, :test]
|
11
|
+
gem "hoe-git", ">=1.4", :group => [:development, :test]
|
12
|
+
gem "mini_portile", ">=0.2.2", :group => [:development, :test]
|
13
|
+
gem "minitest", "~>2.2.2", :group => [:development, :test]
|
14
|
+
gem "rake", ">=0.9", :group => [:development, :test]
|
15
|
+
gem "rake-compiler", "~>0.8.0", :group => [:development, :test]
|
16
|
+
gem "racc", ">=1.4.6", :group => [:development, :test], :platform => :ruby
|
17
|
+
gem "rexical", ">=1.0.5", :group => [:development, :test], :platform => :ruby
|
18
|
+
gem "rdoc", "~>3.10", :group => [:development, :test]
|
19
|
+
gem "hoe", "~>3.7", :group => [:development, :test]
|
20
|
+
|
21
|
+
# vim: syntax=ruby
|
@@ -0,0 +1,315 @@
|
|
1
|
+
.autotest
|
2
|
+
.gemtest
|
3
|
+
.travis.yml
|
4
|
+
CHANGELOG.ja.rdoc
|
5
|
+
CHANGELOG.rdoc
|
6
|
+
C_CODING_STYLE.rdoc
|
7
|
+
Gemfile
|
8
|
+
Manifest.txt
|
9
|
+
README.ja.rdoc
|
10
|
+
README.rdoc
|
11
|
+
ROADMAP.md
|
12
|
+
Rakefile
|
13
|
+
STANDARD_RESPONSES.md
|
14
|
+
Y_U_NO_GEMSPEC.md
|
15
|
+
bin/nokogiri
|
16
|
+
build_all
|
17
|
+
dependencies.yml
|
18
|
+
ext/java/nokogiri/EncodingHandler.java
|
19
|
+
ext/java/nokogiri/HtmlDocument.java
|
20
|
+
ext/java/nokogiri/HtmlElementDescription.java
|
21
|
+
ext/java/nokogiri/HtmlEntityLookup.java
|
22
|
+
ext/java/nokogiri/HtmlSaxParserContext.java
|
23
|
+
ext/java/nokogiri/NokogiriService.java
|
24
|
+
ext/java/nokogiri/XmlAttr.java
|
25
|
+
ext/java/nokogiri/XmlAttributeDecl.java
|
26
|
+
ext/java/nokogiri/XmlCdata.java
|
27
|
+
ext/java/nokogiri/XmlComment.java
|
28
|
+
ext/java/nokogiri/XmlDocument.java
|
29
|
+
ext/java/nokogiri/XmlDocumentFragment.java
|
30
|
+
ext/java/nokogiri/XmlDtd.java
|
31
|
+
ext/java/nokogiri/XmlElement.java
|
32
|
+
ext/java/nokogiri/XmlElementContent.java
|
33
|
+
ext/java/nokogiri/XmlElementDecl.java
|
34
|
+
ext/java/nokogiri/XmlEntityDecl.java
|
35
|
+
ext/java/nokogiri/XmlEntityReference.java
|
36
|
+
ext/java/nokogiri/XmlNamespace.java
|
37
|
+
ext/java/nokogiri/XmlNode.java
|
38
|
+
ext/java/nokogiri/XmlNodeSet.java
|
39
|
+
ext/java/nokogiri/XmlProcessingInstruction.java
|
40
|
+
ext/java/nokogiri/XmlReader.java
|
41
|
+
ext/java/nokogiri/XmlRelaxng.java
|
42
|
+
ext/java/nokogiri/XmlSaxParserContext.java
|
43
|
+
ext/java/nokogiri/XmlSaxPushParser.java
|
44
|
+
ext/java/nokogiri/XmlSchema.java
|
45
|
+
ext/java/nokogiri/XmlSyntaxError.java
|
46
|
+
ext/java/nokogiri/XmlText.java
|
47
|
+
ext/java/nokogiri/XmlXpathContext.java
|
48
|
+
ext/java/nokogiri/XsltStylesheet.java
|
49
|
+
ext/java/nokogiri/internals/ClosedStreamException.java
|
50
|
+
ext/java/nokogiri/internals/HtmlDomParserContext.java
|
51
|
+
ext/java/nokogiri/internals/NokogiriBlockingQueueInputStream.java
|
52
|
+
ext/java/nokogiri/internals/NokogiriDocumentCache.java
|
53
|
+
ext/java/nokogiri/internals/NokogiriDomParser.java
|
54
|
+
ext/java/nokogiri/internals/NokogiriEncodingReaderWrapper.java
|
55
|
+
ext/java/nokogiri/internals/NokogiriEntityResolver.java
|
56
|
+
ext/java/nokogiri/internals/NokogiriErrorHandler.java
|
57
|
+
ext/java/nokogiri/internals/NokogiriHandler.java
|
58
|
+
ext/java/nokogiri/internals/NokogiriHelpers.java
|
59
|
+
ext/java/nokogiri/internals/NokogiriNamespaceCache.java
|
60
|
+
ext/java/nokogiri/internals/NokogiriNamespaceContext.java
|
61
|
+
ext/java/nokogiri/internals/NokogiriNonStrictErrorHandler.java
|
62
|
+
ext/java/nokogiri/internals/NokogiriNonStrictErrorHandler4NekoHtml.java
|
63
|
+
ext/java/nokogiri/internals/NokogiriStrictErrorHandler.java
|
64
|
+
ext/java/nokogiri/internals/NokogiriXPathFunction.java
|
65
|
+
ext/java/nokogiri/internals/NokogiriXPathFunctionResolver.java
|
66
|
+
ext/java/nokogiri/internals/NokogiriXPathVariableResolver.java
|
67
|
+
ext/java/nokogiri/internals/NokogiriXsltErrorListener.java
|
68
|
+
ext/java/nokogiri/internals/ParserContext.java
|
69
|
+
ext/java/nokogiri/internals/ReaderNode.java
|
70
|
+
ext/java/nokogiri/internals/SaveContextVisitor.java
|
71
|
+
ext/java/nokogiri/internals/SchemaErrorHandler.java
|
72
|
+
ext/java/nokogiri/internals/UncloseableInputStream.java
|
73
|
+
ext/java/nokogiri/internals/XmlDeclHandler.java
|
74
|
+
ext/java/nokogiri/internals/XmlDomParserContext.java
|
75
|
+
ext/java/nokogiri/internals/XmlSaxParser.java
|
76
|
+
ext/java/nokogiri/internals/XsltExtensionFunction.java
|
77
|
+
ext/nokogiri/depend
|
78
|
+
ext/nokogiri/extconf.rb
|
79
|
+
ext/nokogiri/html_document.c
|
80
|
+
ext/nokogiri/html_document.h
|
81
|
+
ext/nokogiri/html_element_description.c
|
82
|
+
ext/nokogiri/html_element_description.h
|
83
|
+
ext/nokogiri/html_entity_lookup.c
|
84
|
+
ext/nokogiri/html_entity_lookup.h
|
85
|
+
ext/nokogiri/html_sax_parser_context.c
|
86
|
+
ext/nokogiri/html_sax_parser_context.h
|
87
|
+
ext/nokogiri/html_sax_push_parser.c
|
88
|
+
ext/nokogiri/html_sax_push_parser.h
|
89
|
+
ext/nokogiri/nokogiri.c
|
90
|
+
ext/nokogiri/nokogiri.h
|
91
|
+
ext/nokogiri/xml_attr.c
|
92
|
+
ext/nokogiri/xml_attr.h
|
93
|
+
ext/nokogiri/xml_attribute_decl.c
|
94
|
+
ext/nokogiri/xml_attribute_decl.h
|
95
|
+
ext/nokogiri/xml_cdata.c
|
96
|
+
ext/nokogiri/xml_cdata.h
|
97
|
+
ext/nokogiri/xml_comment.c
|
98
|
+
ext/nokogiri/xml_comment.h
|
99
|
+
ext/nokogiri/xml_document.c
|
100
|
+
ext/nokogiri/xml_document.h
|
101
|
+
ext/nokogiri/xml_document_fragment.c
|
102
|
+
ext/nokogiri/xml_document_fragment.h
|
103
|
+
ext/nokogiri/xml_dtd.c
|
104
|
+
ext/nokogiri/xml_dtd.h
|
105
|
+
ext/nokogiri/xml_element_content.c
|
106
|
+
ext/nokogiri/xml_element_content.h
|
107
|
+
ext/nokogiri/xml_element_decl.c
|
108
|
+
ext/nokogiri/xml_element_decl.h
|
109
|
+
ext/nokogiri/xml_encoding_handler.c
|
110
|
+
ext/nokogiri/xml_encoding_handler.h
|
111
|
+
ext/nokogiri/xml_entity_decl.c
|
112
|
+
ext/nokogiri/xml_entity_decl.h
|
113
|
+
ext/nokogiri/xml_entity_reference.c
|
114
|
+
ext/nokogiri/xml_entity_reference.h
|
115
|
+
ext/nokogiri/xml_io.c
|
116
|
+
ext/nokogiri/xml_io.h
|
117
|
+
ext/nokogiri/xml_libxml2_hacks.c
|
118
|
+
ext/nokogiri/xml_libxml2_hacks.h
|
119
|
+
ext/nokogiri/xml_namespace.c
|
120
|
+
ext/nokogiri/xml_namespace.h
|
121
|
+
ext/nokogiri/xml_node.c
|
122
|
+
ext/nokogiri/xml_node.h
|
123
|
+
ext/nokogiri/xml_node_set.c
|
124
|
+
ext/nokogiri/xml_node_set.h
|
125
|
+
ext/nokogiri/xml_processing_instruction.c
|
126
|
+
ext/nokogiri/xml_processing_instruction.h
|
127
|
+
ext/nokogiri/xml_reader.c
|
128
|
+
ext/nokogiri/xml_reader.h
|
129
|
+
ext/nokogiri/xml_relax_ng.c
|
130
|
+
ext/nokogiri/xml_relax_ng.h
|
131
|
+
ext/nokogiri/xml_sax_parser.c
|
132
|
+
ext/nokogiri/xml_sax_parser.h
|
133
|
+
ext/nokogiri/xml_sax_parser_context.c
|
134
|
+
ext/nokogiri/xml_sax_parser_context.h
|
135
|
+
ext/nokogiri/xml_sax_push_parser.c
|
136
|
+
ext/nokogiri/xml_sax_push_parser.h
|
137
|
+
ext/nokogiri/xml_schema.c
|
138
|
+
ext/nokogiri/xml_schema.h
|
139
|
+
ext/nokogiri/xml_syntax_error.c
|
140
|
+
ext/nokogiri/xml_syntax_error.h
|
141
|
+
ext/nokogiri/xml_text.c
|
142
|
+
ext/nokogiri/xml_text.h
|
143
|
+
ext/nokogiri/xml_xpath_context.c
|
144
|
+
ext/nokogiri/xml_xpath_context.h
|
145
|
+
ext/nokogiri/xslt_stylesheet.c
|
146
|
+
ext/nokogiri/xslt_stylesheet.h
|
147
|
+
lib/isorelax.jar
|
148
|
+
lib/jing.jar
|
149
|
+
lib/nekodtd.jar
|
150
|
+
lib/nekohtml.jar
|
151
|
+
lib/nokogiri.rb
|
152
|
+
lib/nokogiri/css.rb
|
153
|
+
lib/nokogiri/css/node.rb
|
154
|
+
lib/nokogiri/css/parser.rb
|
155
|
+
lib/nokogiri/css/parser.y
|
156
|
+
lib/nokogiri/css/parser_extras.rb
|
157
|
+
lib/nokogiri/css/syntax_error.rb
|
158
|
+
lib/nokogiri/css/tokenizer.rb
|
159
|
+
lib/nokogiri/css/tokenizer.rex
|
160
|
+
lib/nokogiri/css/xpath_visitor.rb
|
161
|
+
lib/nokogiri/decorators/slop.rb
|
162
|
+
lib/nokogiri/html.rb
|
163
|
+
lib/nokogiri/html/builder.rb
|
164
|
+
lib/nokogiri/html/document.rb
|
165
|
+
lib/nokogiri/html/document_fragment.rb
|
166
|
+
lib/nokogiri/html/element_description.rb
|
167
|
+
lib/nokogiri/html/element_description_defaults.rb
|
168
|
+
lib/nokogiri/html/entity_lookup.rb
|
169
|
+
lib/nokogiri/html/sax/parser.rb
|
170
|
+
lib/nokogiri/html/sax/parser_context.rb
|
171
|
+
lib/nokogiri/html/sax/push_parser.rb
|
172
|
+
lib/nokogiri/syntax_error.rb
|
173
|
+
lib/nokogiri/version.rb
|
174
|
+
lib/nokogiri/xml.rb
|
175
|
+
lib/nokogiri/xml/attr.rb
|
176
|
+
lib/nokogiri/xml/attribute_decl.rb
|
177
|
+
lib/nokogiri/xml/builder.rb
|
178
|
+
lib/nokogiri/xml/cdata.rb
|
179
|
+
lib/nokogiri/xml/character_data.rb
|
180
|
+
lib/nokogiri/xml/document.rb
|
181
|
+
lib/nokogiri/xml/document_fragment.rb
|
182
|
+
lib/nokogiri/xml/dtd.rb
|
183
|
+
lib/nokogiri/xml/element_content.rb
|
184
|
+
lib/nokogiri/xml/element_decl.rb
|
185
|
+
lib/nokogiri/xml/entity_decl.rb
|
186
|
+
lib/nokogiri/xml/namespace.rb
|
187
|
+
lib/nokogiri/xml/node.rb
|
188
|
+
lib/nokogiri/xml/node/save_options.rb
|
189
|
+
lib/nokogiri/xml/node_set.rb
|
190
|
+
lib/nokogiri/xml/notation.rb
|
191
|
+
lib/nokogiri/xml/parse_options.rb
|
192
|
+
lib/nokogiri/xml/pp.rb
|
193
|
+
lib/nokogiri/xml/pp/character_data.rb
|
194
|
+
lib/nokogiri/xml/pp/node.rb
|
195
|
+
lib/nokogiri/xml/processing_instruction.rb
|
196
|
+
lib/nokogiri/xml/reader.rb
|
197
|
+
lib/nokogiri/xml/relax_ng.rb
|
198
|
+
lib/nokogiri/xml/sax.rb
|
199
|
+
lib/nokogiri/xml/sax/document.rb
|
200
|
+
lib/nokogiri/xml/sax/parser.rb
|
201
|
+
lib/nokogiri/xml/sax/parser_context.rb
|
202
|
+
lib/nokogiri/xml/sax/push_parser.rb
|
203
|
+
lib/nokogiri/xml/schema.rb
|
204
|
+
lib/nokogiri/xml/syntax_error.rb
|
205
|
+
lib/nokogiri/xml/text.rb
|
206
|
+
lib/nokogiri/xml/xpath.rb
|
207
|
+
lib/nokogiri/xml/xpath/syntax_error.rb
|
208
|
+
lib/nokogiri/xml/xpath_context.rb
|
209
|
+
lib/nokogiri/xslt.rb
|
210
|
+
lib/nokogiri/xslt/stylesheet.rb
|
211
|
+
lib/xercesImpl.jar
|
212
|
+
lib/xsd/xmlparser/nokogiri.rb
|
213
|
+
tasks/cross_compile.rb
|
214
|
+
tasks/nokogiri.org.rb
|
215
|
+
tasks/test.rb
|
216
|
+
test/css/test_nthiness.rb
|
217
|
+
test/css/test_parser.rb
|
218
|
+
test/css/test_tokenizer.rb
|
219
|
+
test/css/test_xpath_visitor.rb
|
220
|
+
test/decorators/test_slop.rb
|
221
|
+
test/files/2ch.html
|
222
|
+
test/files/address_book.rlx
|
223
|
+
test/files/address_book.xml
|
224
|
+
test/files/bar/bar.xsd
|
225
|
+
test/files/bogus.xml
|
226
|
+
test/files/dont_hurt_em_why.xml
|
227
|
+
test/files/encoding.html
|
228
|
+
test/files/encoding.xhtml
|
229
|
+
test/files/exslt.xml
|
230
|
+
test/files/exslt.xslt
|
231
|
+
test/files/foo/foo.xsd
|
232
|
+
test/files/metacharset.html
|
233
|
+
test/files/noencoding.html
|
234
|
+
test/files/po.xml
|
235
|
+
test/files/po.xsd
|
236
|
+
test/files/saml/saml20assertion_schema.xsd
|
237
|
+
test/files/saml/saml20protocol_schema.xsd
|
238
|
+
test/files/saml/xenc_schema.xsd
|
239
|
+
test/files/saml/xmldsig_schema.xsd
|
240
|
+
test/files/shift_jis.html
|
241
|
+
test/files/shift_jis.xml
|
242
|
+
test/files/snuggles.xml
|
243
|
+
test/files/staff.dtd
|
244
|
+
test/files/staff.xml
|
245
|
+
test/files/staff.xslt
|
246
|
+
test/files/test_document_url/bar.xml
|
247
|
+
test/files/test_document_url/document.dtd
|
248
|
+
test/files/test_document_url/document.xml
|
249
|
+
test/files/tlm.html
|
250
|
+
test/files/to_be_xincluded.xml
|
251
|
+
test/files/valid_bar.xml
|
252
|
+
test/files/xinclude.xml
|
253
|
+
test/helper.rb
|
254
|
+
test/html/sax/test_parser.rb
|
255
|
+
test/html/sax/test_parser_context.rb
|
256
|
+
test/html/test_builder.rb
|
257
|
+
test/html/test_document.rb
|
258
|
+
test/html/test_document_encoding.rb
|
259
|
+
test/html/test_document_fragment.rb
|
260
|
+
test/html/test_element_description.rb
|
261
|
+
test/html/test_named_characters.rb
|
262
|
+
test/html/test_node.rb
|
263
|
+
test/html/test_node_encoding.rb
|
264
|
+
test/namespaces/test_additional_namespaces_in_builder_doc.rb
|
265
|
+
test/namespaces/test_namespaces_in_builder_doc.rb
|
266
|
+
test/namespaces/test_namespaces_in_created_doc.rb
|
267
|
+
test/namespaces/test_namespaces_in_parsed_doc.rb
|
268
|
+
test/test_convert_xpath.rb
|
269
|
+
test/test_css_cache.rb
|
270
|
+
test/test_encoding_handler.rb
|
271
|
+
test/test_memory_leak.rb
|
272
|
+
test/test_nokogiri.rb
|
273
|
+
test/test_reader.rb
|
274
|
+
test/test_soap4r_sax.rb
|
275
|
+
test/test_xslt_transforms.rb
|
276
|
+
test/xml/node/test_save_options.rb
|
277
|
+
test/xml/node/test_subclass.rb
|
278
|
+
test/xml/sax/test_parser.rb
|
279
|
+
test/xml/sax/test_parser_context.rb
|
280
|
+
test/xml/sax/test_push_parser.rb
|
281
|
+
test/xml/test_attr.rb
|
282
|
+
test/xml/test_attribute_decl.rb
|
283
|
+
test/xml/test_builder.rb
|
284
|
+
test/xml/test_c14n.rb
|
285
|
+
test/xml/test_cdata.rb
|
286
|
+
test/xml/test_comment.rb
|
287
|
+
test/xml/test_document.rb
|
288
|
+
test/xml/test_document_encoding.rb
|
289
|
+
test/xml/test_document_fragment.rb
|
290
|
+
test/xml/test_dtd.rb
|
291
|
+
test/xml/test_dtd_encoding.rb
|
292
|
+
test/xml/test_element_content.rb
|
293
|
+
test/xml/test_element_decl.rb
|
294
|
+
test/xml/test_entity_decl.rb
|
295
|
+
test/xml/test_entity_reference.rb
|
296
|
+
test/xml/test_namespace.rb
|
297
|
+
test/xml/test_node.rb
|
298
|
+
test/xml/test_node_attributes.rb
|
299
|
+
test/xml/test_node_encoding.rb
|
300
|
+
test/xml/test_node_inheritance.rb
|
301
|
+
test/xml/test_node_reparenting.rb
|
302
|
+
test/xml/test_node_set.rb
|
303
|
+
test/xml/test_parse_options.rb
|
304
|
+
test/xml/test_processing_instruction.rb
|
305
|
+
test/xml/test_reader_encoding.rb
|
306
|
+
test/xml/test_relax_ng.rb
|
307
|
+
test/xml/test_schema.rb
|
308
|
+
test/xml/test_syntax_error.rb
|
309
|
+
test/xml/test_text.rb
|
310
|
+
test/xml/test_unparented_node.rb
|
311
|
+
test/xml/test_xinclude.rb
|
312
|
+
test/xml/test_xpath.rb
|
313
|
+
test/xslt/test_custom_functions.rb
|
314
|
+
test/xslt/test_exception_handling.rb
|
315
|
+
test_all
|
@@ -0,0 +1,106 @@
|
|
1
|
+
= Nokogiri (鋸) {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri]
|
2
|
+
|
3
|
+
* http://nokogiri.org/
|
4
|
+
* http://github.com/sparklemotion/nokogiri/wikis
|
5
|
+
* http://github.com/sparklemotion/nokogiri/tree/master
|
6
|
+
* http://groups.google.com/group/nokogiri-list
|
7
|
+
* http://github.com/sparklemotion/nokogiri/issues
|
8
|
+
|
9
|
+
== DESCRIPTION:
|
10
|
+
|
11
|
+
Nokogiri はHTMLとXMLとSAXとXSLTとReaderのパーサーです。とりわけ重要な特徴は、
|
12
|
+
ドキュメントをXPathやCSS3セレクター経由で探索する機能を持つことです。
|
13
|
+
|
14
|
+
XMLは暴力に似ている - XMLが君の問題を解決しないとしたら、君はXMLを十分に
|
15
|
+
使いこなしていない事になる。
|
16
|
+
|
17
|
+
== FEATURES:
|
18
|
+
|
19
|
+
* XPath による探索
|
20
|
+
* CSS3 のセレクターによる探索
|
21
|
+
* XML/HTMLのビルダー
|
22
|
+
|
23
|
+
XML/HTMLの高速な解析と探索検索、ならびにCSS3セレクタとXPathをサポートしています。
|
24
|
+
|
25
|
+
== SUPPORT:
|
26
|
+
|
27
|
+
日本語でNokogiriの
|
28
|
+
{メーリングリスト}[http://groups.google.com/group/nokogiri-list]
|
29
|
+
|
30
|
+
* http://groups.google.com/group/nokogiri-list
|
31
|
+
|
32
|
+
{バグ報告}[http://github.com/sparklemotion/nokogiri/issues]
|
33
|
+
|
34
|
+
* http://github.com/sparklemotion/nokogiri/issues
|
35
|
+
|
36
|
+
IRCのチャンネルはfreenodeの #nokogiri です。
|
37
|
+
|
38
|
+
== SYNOPSIS:
|
39
|
+
|
40
|
+
require 'nokogiri'
|
41
|
+
require 'open-uri'
|
42
|
+
|
43
|
+
doc = Nokogiri::HTML(open('http://www.google.com/search?q=tenderlove'))
|
44
|
+
|
45
|
+
####
|
46
|
+
# Search for nodes by css
|
47
|
+
doc.css('h3.r a.l').each do |link|
|
48
|
+
puts link.content
|
49
|
+
end
|
50
|
+
|
51
|
+
####
|
52
|
+
# Search for nodes by xpath
|
53
|
+
doc.xpath('//h3/a[@class="l"]').each do |link|
|
54
|
+
puts link.content
|
55
|
+
end
|
56
|
+
|
57
|
+
####
|
58
|
+
# Or mix and match.
|
59
|
+
doc.search('h3.r a.l', '//h3/a[@class="l"]').each do |link|
|
60
|
+
puts link.content
|
61
|
+
end
|
62
|
+
|
63
|
+
|
64
|
+
== REQUIREMENTS:
|
65
|
+
|
66
|
+
* ruby 1.8 or 1.9
|
67
|
+
* libxml2
|
68
|
+
* libxml2-dev
|
69
|
+
* libxslt
|
70
|
+
* libxslt-dev
|
71
|
+
|
72
|
+
== INSTALL:
|
73
|
+
|
74
|
+
* sudo gem install nokogiri
|
75
|
+
|
76
|
+
== LICENSE:
|
77
|
+
|
78
|
+
(The MIT License)
|
79
|
+
|
80
|
+
Copyright (c) 2008 - 2010:
|
81
|
+
|
82
|
+
* {Aaron Patterson}[http://tenderlovemaking.com]
|
83
|
+
* {Mike Dalessio}[http://mike.daless.io]
|
84
|
+
* {Charles Nutter}[http://blog.headius.com]
|
85
|
+
* {Sergio Arbeo}[http://www.serabe.com]
|
86
|
+
* {Patrick Mahoney}[http://polycrystal.org]
|
87
|
+
* {Yoko Harada}[http://yokolet.blogspot.com]
|
88
|
+
|
89
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
90
|
+
a copy of this software and associated documentation files (the
|
91
|
+
'Software'), to deal in the Software without restriction, including
|
92
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
93
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
94
|
+
permit persons to whom the Software is furnished to do so, subject to
|
95
|
+
the following conditions:
|
96
|
+
|
97
|
+
The above copyright notice and this permission notice shall be
|
98
|
+
included in all copies or substantial portions of the Software.
|
99
|
+
|
100
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
101
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
102
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
103
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
104
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
105
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
106
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
@@ -0,0 +1,175 @@
|
|
1
|
+
= Nokogiri {<img src="https://secure.travis-ci.org/sparklemotion/nokogiri.png?rvm=1.9.3" />}[http://travis-ci.org/sparklemotion/nokogiri] {<img src="https://codeclimate.com/badge.png" />}[https://codeclimate.com/github/sparklemotion/nokogiri]
|
2
|
+
|
3
|
+
* http://nokogiri.org
|
4
|
+
* http://github.com/sparklemotion/nokogiri/wikis
|
5
|
+
* http://github.com/sparklemotion/nokogiri/tree/master
|
6
|
+
* http://groups.google.com/group/nokogiri-talk
|
7
|
+
* http://github.com/sparklemotion/nokogiri/issues
|
8
|
+
|
9
|
+
== DESCRIPTION:
|
10
|
+
|
11
|
+
Nokogiri (鋸) is an HTML, XML, SAX, and Reader parser. Among Nokogiri's
|
12
|
+
many features is the ability to search documents via XPath or CSS3 selectors.
|
13
|
+
|
14
|
+
XML is like violence - if it doesn’t solve your problems, you are not using
|
15
|
+
enough of it.
|
16
|
+
|
17
|
+
== FEATURES:
|
18
|
+
|
19
|
+
* XPath support for document searching
|
20
|
+
* CSS3 selector support for document searching
|
21
|
+
* XML/HTML builder
|
22
|
+
|
23
|
+
Nokogiri parses and searches XML/HTML very quickly, and also has
|
24
|
+
correctly implemented CSS3 selector support as well as XPath support.
|
25
|
+
|
26
|
+
== SUPPORT:
|
27
|
+
|
28
|
+
Before filing a bug report, please read our {submission guidelines}[http://nokogiri.org/tutorials/getting_help.html] at:
|
29
|
+
|
30
|
+
* http://nokogiri.org/tutorials/getting_help.html
|
31
|
+
|
32
|
+
The Nokogiri {mailing list}[http://groups.google.com/group/nokogiri-talk]
|
33
|
+
is available here:
|
34
|
+
|
35
|
+
* http://groups.google.com/group/nokogiri-talk
|
36
|
+
|
37
|
+
The {bug tracker}[http://github.com/sparklemotion/nokogiri/issues]
|
38
|
+
is available here:
|
39
|
+
|
40
|
+
* http://github.com/sparklemotion/nokogiri/issues
|
41
|
+
|
42
|
+
The IRC channel is #nokogiri on freenode.
|
43
|
+
|
44
|
+
== SYNOPSIS:
|
45
|
+
|
46
|
+
require 'nokogiri'
|
47
|
+
require 'open-uri'
|
48
|
+
|
49
|
+
# Get a Nokogiri::HTML::Document for the page we’re interested in...
|
50
|
+
|
51
|
+
doc = Nokogiri::HTML(open('http://www.google.com/search?q=sparklemotion'))
|
52
|
+
|
53
|
+
# Do funky things with it using Nokogiri::XML::Node methods...
|
54
|
+
|
55
|
+
####
|
56
|
+
# Search for nodes by css
|
57
|
+
doc.css('h3.r a').each do |link|
|
58
|
+
puts link.content
|
59
|
+
end
|
60
|
+
|
61
|
+
####
|
62
|
+
# Search for nodes by xpath
|
63
|
+
doc.xpath('//h3/a').each do |link|
|
64
|
+
puts link.content
|
65
|
+
end
|
66
|
+
|
67
|
+
####
|
68
|
+
# Or mix and match.
|
69
|
+
doc.search('h3.r a.l', '//h3/a').each do |link|
|
70
|
+
puts link.content
|
71
|
+
end
|
72
|
+
|
73
|
+
|
74
|
+
== REQUIREMENTS:
|
75
|
+
|
76
|
+
* ruby 1.8 or 1.9
|
77
|
+
* libxml2
|
78
|
+
* libxml2-dev
|
79
|
+
* libxslt
|
80
|
+
* libxslt-dev
|
81
|
+
|
82
|
+
== ENCODING:
|
83
|
+
|
84
|
+
Strings are always stored as UTF-8 internally. Methods that return
|
85
|
+
text values will always return UTF-8 encoded strings. Methods that
|
86
|
+
return XML (like to_xml, to_html and inner_html) will return a string
|
87
|
+
encoded like the source document.
|
88
|
+
|
89
|
+
*WARNING*
|
90
|
+
|
91
|
+
Some documents declare one particular encoding, but use a different
|
92
|
+
one. So, which encoding should the parser choose?
|
93
|
+
|
94
|
+
Remember that data is just a stream of bytes. Only we humans add
|
95
|
+
meaning to that stream. Any particular set of bytes could be valid
|
96
|
+
characters in multiple encodings, so detecting encoding with 100%
|
97
|
+
accuracy is not possible. libxml2 does its best, but it can't be right
|
98
|
+
100% of the time.
|
99
|
+
|
100
|
+
If you want Nokogiri to handle the document encoding properly, your
|
101
|
+
best bet is to explicitly set the encoding. Here is an example of
|
102
|
+
explicitly setting the encoding to EUC-JP on the parser:
|
103
|
+
|
104
|
+
doc = Nokogiri.XML('<foo><bar /><foo>', nil, 'EUC-JP')
|
105
|
+
|
106
|
+
== INSTALL:
|
107
|
+
|
108
|
+
* sudo gem install nokogiri
|
109
|
+
|
110
|
+
=== Binary packages
|
111
|
+
|
112
|
+
Binary packages are available for:
|
113
|
+
|
114
|
+
* SuSE[http://download.opensuse.org/repositories/devel:/languages:/ruby:/extensions/]
|
115
|
+
* Fedora[http://s390.koji.fedoraproject.org/koji/packageinfo?packageID=6756]
|
116
|
+
|
117
|
+
== DEVELOPMENT:
|
118
|
+
|
119
|
+
=== Developing on C Ruby (MRI)
|
120
|
+
|
121
|
+
Developing Nokogiri requires racc and rexical to generate the parser and
|
122
|
+
tokenizer. To start development, make sure you have `libxml2` and `libxslt`
|
123
|
+
installed.
|
124
|
+
|
125
|
+
Then install core gems and bootstrap:
|
126
|
+
|
127
|
+
$ gem install hoe rake-compiler mini_portile
|
128
|
+
$ rake newb
|
129
|
+
|
130
|
+
=== Developing on JRuby
|
131
|
+
|
132
|
+
Currently, development with JRuby depends on CRuby being installed. With
|
133
|
+
CRuby, install racc and rexical:
|
134
|
+
|
135
|
+
$ gem install racc rexical
|
136
|
+
|
137
|
+
Make sure hoe and rake compiler are installed with JRuby:
|
138
|
+
|
139
|
+
$ jgem install hoe rake-compiler
|
140
|
+
|
141
|
+
Then run rake:
|
142
|
+
|
143
|
+
$ jruby -S rake
|
144
|
+
|
145
|
+
== LICENSE:
|
146
|
+
|
147
|
+
(The MIT License)
|
148
|
+
|
149
|
+
Copyright (c) 2008 - 2012:
|
150
|
+
|
151
|
+
* {Aaron Patterson}[http://tenderlovemaking.com]
|
152
|
+
* {Mike Dalessio}[http://mike.daless.io]
|
153
|
+
* {Charles Nutter}[http://blog.headius.com]
|
154
|
+
* {Sergio Arbeo}[http://www.serabe.com]
|
155
|
+
* {Patrick Mahoney}[http://polycrystal.org]
|
156
|
+
* {Yoko Harada}[http://yokolet.blogspot.com]
|
157
|
+
|
158
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
159
|
+
a copy of this software and associated documentation files (the
|
160
|
+
'Software'), to deal in the Software without restriction, including
|
161
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
162
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
163
|
+
permit persons to whom the Software is furnished to do so, subject to
|
164
|
+
the following conditions:
|
165
|
+
|
166
|
+
The above copyright notice and this permission notice shall be
|
167
|
+
included in all copies or substantial portions of the Software.
|
168
|
+
|
169
|
+
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
|
170
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
171
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
|
172
|
+
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
|
173
|
+
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
|
174
|
+
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
|
175
|
+
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|