Permalink
Browse files

make test_processing_instruction pass.

  • Loading branch information...
1 parent 5f8fad2 commit 557e67475647129d322ae23bae44710cd53b1932 @jvshahid jvshahid committed Oct 24, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 ext/java/nokogiri/internals/NokogiriHandler.java
@@ -118,6 +118,11 @@ public void endDocument() throws SAXException {
call("end_document");
}
+ @Override
+ public void processingInstruction(String target, String data) {
+ call("processing_instruction", ruby.newString(target), ruby.newString(data));
+ }
+
/*
* This has to call either "start_element" or
* "start_element_namespace" depending on whether there are any

0 comments on commit 557e674

Please sign in to comment.