X-Git-Url: http://nitlanguage.org diff --git a/lib/sax/input_source.nit b/lib/sax/input_source.nit index b3a27d8..0427f4a 100644 --- a/lib/sax/input_source.nit +++ b/lib/sax/input_source.nit @@ -41,8 +41,6 @@ module sax::input_source # from [SAX 2.0](http://www.saxproject.org). class InputSource - init do end - # Create a new input source with the specified system identifier. # # Applications may use `public_id=` to include a public identifier as well, @@ -60,7 +58,7 @@ class InputSource # resolving relative URIs, may use `public_id=` to include a public # identifier, and may use `encoding=` to specify the object's character # encoding. - init with_stream(stream: IStream) do + init with_stream(stream: Reader) do self.stream = stream end @@ -86,7 +84,7 @@ class InputSource # for resolving relative URIs, may set `public_id` to include a # public identifier, and may set `encoding` to specify the object's # character encoding. - var stream: nullable IStream = null is writable + var stream: nullable Reader = null is writable # The character encoding, if known. #