Prefetch more bytes when the ByteBuffer doesn't contain enough bytes for allowing us to recognize the format.
We try to prefetch more bytes only if necessary in order to avoid latency on network connections.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1510624 13f79535-47bb-0310-9956-ffa450edef68
Reduce the scope of the 'synchronized (loader)' block, in order to reduce contention in highly multi-thread environment.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1510889 13f79535-47bb-0310-9956-ffa450edef68
Remove an erroneous assertion.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511227 13f79535-47bb-0310-9956-ffa450edef68
Allow external modules to specialize factories (especially TemporalFactory).
This is a temporary workaround while we are waiting for real dependency injection in SIS.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511243 13f79535-47bb-0310-9956-ffa450edef68
Provide a XML.(un)marshall variant accepting the optional map of properties.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511388 13f79535-47bb-0310-9956-ffa450edef68
Improve documentation and add an option for document encoding.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511391 13f79535-47bb-0310-9956-ffa450edef68
StorageConnector needs to be also able to provide InputStream and Reader objects.
This support complicates a bit the task of closing the stream, in part because
AutoCloseable is not guaranteed to be idempotent (ImageInputStream in not).


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511393 13f79535-47bb-0310-9956-ffa450edef68
Missing 'return null' statement when the given type is legal but no instance is available.
This is different than throwing an exception when the given type is illegal.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511422 13f79535-47bb-0310-9956-ffa450edef68
Added a XMLStore implementation, in internal package.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511423 13f79535-47bb-0310-9956-ffa450edef68
Force the GML namespace for the "id" attribute.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511425 13f79535-47bb-0310-9956-ffa450edef68
Documentation fix.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511623 13f79535-47bb-0310-9956-ffa450edef68
Fix a test failure when the path to the project contains a space
(or any other encoded character in the URL).


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK7@1511646 13f79535-47bb-0310-9956-ffa450edef68
Merge from the JDK7 branch.


git-svn-id: https://svn.apache.org/repos/asf/sis/branches/JDK6@1511685 13f79535-47bb-0310-9956-ffa450edef68