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

Use xsd:key/xsd:keyref instead of xsd:id/xsd:idref? #304

Open
shorowit opened this issue Apr 8, 2022 · 0 comments
Open

Use xsd:key/xsd:keyref instead of xsd:id/xsd:idref? #304

shorowit opened this issue Apr 8, 2022 · 0 comments

Comments

@shorowit
Copy link
Contributor

shorowit commented Apr 8, 2022

Currently HPXML uses xsd:id and xsd:idref, which allows an idref to point to any id in the HPXML file, even if it makes no sense. This means that every software tool must do some error-checking.

From what I've read, xsd:key and xsd:keyref are supposed to provide all the same capabilities as xsd:id and xsd:idref while allowing much more flexibility -- like defining constraints on what element type(s) can be referenced.

@shorowit shorowit added this to the v4.0 milestone Sep 13, 2022
@shorowit shorowit removed this from the v4.0 milestone Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant