Giter Club home page Giter Club logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
I've created a small unit test to reproduce the problem and can confirm it. 
Currently the ResourceCollectionReaderBase class stores the original location 
in the documentUri field. The issue can be fixed by storing the resolved URI in 
the documentUri field and the resolved base URI in the baseUri field. I believe 
that change does not break things for the users. However, the documentUri may 
become quite different from the location passed into the TextReader. Possibly 
there is another solution so that the documentUri still bears some resemblance 
to the original location.

Original comment by richard.eckart on 5 Sep 2011 at 6:54

from dkpro-core-asl.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
Thinking about it, I believe it would be best not to insist on using the 
original location as part of the documentUri, because that may lead to multiple 
documents having the same documentUri. E.g. when resolving files from the 
classpath, multiple files may be at the same classpath: location, but each one 
will resolve to a separare jar: location.

Original comment by richard.eckart on 5 Sep 2011 at 7:33

from dkpro-core-asl.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 17, 2024
- Using resolved URI and resolved base URI to fill document metadata fields
- Added TextReader test case with space characters in path
---
rev 204

Original comment by richard.eckart on 5 Sep 2011 at 7:56

  • Changed state: Fixed

from dkpro-core-asl.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.