Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

identity and equality of datatype values #92

Open
pfps opened this issue Jun 28, 2024 · 1 comment
Open

identity and equality of datatype values #92

pfps opened this issue Jun 28, 2024 · 1 comment
Labels
spec:editorial Minor issue or proposed change in the specification (markup, typo, informative text)

Comments

@pfps
Copy link
Contributor

pfps commented Jun 28, 2024

The notions of identity and equality are often considered to be the same but sometimes they are not. RDF Concepts needs to be clear what equality of literal values means.

This is important for xsd:float and xsd:double as they have different identity and equality. Identity is the relationship that is important for RDF datatypes, not equality.

Several RDF datatypes use equality in the sense of identity:
rdf:HTML "are considered equal"
rdf:XMLLiteral "are considerd equal"
RDF:JSON "are considerd equal"

Perhaps the best solution is to uniformly use "identical" instead of "equal" here.

On a side note:
Can DOM nodes end up being connected together in a way that does not form a tree? Loops are not allowed, as the mutation algorithms appear to check for potential loops, but there doesn't appear to be any check for repeated occurences of a node.

@pfps pfps added the spec:editorial Minor issue or proposed change in the specification (markup, typo, informative text) label Jun 28, 2024
@TallTed
Copy link
Member

TallTed commented Jul 1, 2024

Please correct typo in title, from identiy to identity.

@pfps pfps changed the title identiy and equality of datatype values identity and equality of datatype values Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
spec:editorial Minor issue or proposed change in the specification (markup, typo, informative text)
Projects
None yet
Development

No branches or pull requests

2 participants