arne-bdt commented on issue #2808:
URL: https://github.com/apache/jena/issues/2808#issuecomment-2444955543

   @afs Sorry, I don´t understand parts of your comment.
   
   > The datatype registry provides the unique references. It's an open-ended 
enum.
   
   --> What I understood: It should stay the way it is. By referece is fine, 
due to the registry.
   
   > LiteralLabelFactory` should not be considered application facing API. It's 
in impl.
   
   --> What I understood: I did not choose a valid example.
   
   >> uniqueness isn’t defined by the URI
   
    --> Where does this citation come from?
    
   > That's contract for RDF datatypes.
   
   --> The issue is about `RDFDatatypes`. Does this mean: The contract for RDF 
datatypes is that it´s uniqueness is not defined by the URI? Or is it?
   --> Since the URI is the unique key for the datatype registry where due to 
reference equality, all existing datatypes have to be registered, then all 
datatypes must have a unique URI. Or am I mistaken?
   
   > I think chaos will result if "same URI, different class". It will be lost 
on printing and storing in a database.
   
   --> I agree, that would be ugly.
   
   > Maybe define equals and hashCode as final.
   
   --> Yeah... but with which kind of implementation? By reference or compare 
by URI only?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to