Github user afs commented on the issue:

    https://github.com/apache/jena/pull/159
  
    That will go in circles! Plain `model.read` goes to `RDFReaderRIOT` (The 
old RDFReader interface adapter to RIOT) which makes all calls go to 
`RDFDataMgr.read(model,...)`. If that calls `model.read` we have a loop.
    
    `OntModel.read` overrides `Model.read` and does "get basic data" via a call 
to `super.read` (which is `ModelCom.read`) and then "load imports".
    
    So the layering is that RDFDataMgr does the basic read operations, with the 
indirection of `StreamManager`/`LocationMapping`.
    
    
    
    The key here is going via `FileManager.get().readModel` bypasses an 
overridable `model.read`.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to