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
implementation of xsd:anyURI
is invalid
#18
Labels
bug
Something isn't working
Comments
jkowalleck
added a commit
that referenced
this issue
Nov 14, 2021
…nctiveLicense::setUrl()` fixes #18
jkowalleck
added a commit
that referenced
this issue
Nov 14, 2021
…nctiveLicense::setUrl()` fixes #18 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
jkowalleck
added a commit
that referenced
this issue
Nov 15, 2021
* Fixed * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()` no longer restricts the argument to be a valid URL. Per schema definition `licenseType.url` should be a URI, not a URL. See [#18](#18) * Changed * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()` no longer throws `InvalidArgumentException` if the argument is not a URL (via [#19]) [#19]: #19
jkowalleck
added a commit
that referenced
this issue
Nov 20, 2021
…nctiveLicense::setUrl()` fixes #18 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
jkowalleck
added a commit
that referenced
this issue
Nov 20, 2021
* Fixed * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()` no longer restricts the argument to be a valid URL. Per schema definition `licenseType.url` should be a URI, not a URL. See [#18](#18) * Changed * `CycloneDX\Core\Models\License\AbstractDisjunctiveLicense::setUrl()` no longer throws `InvalidArgumentException` if the argument is not a URL (via [#19]) [#19]: #19 Signed-off-by: Jan Kowalleck <jan.kowalleck@gmail.com>
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ISSUE: current implementation treats
xsd:anyURI
as an URL.xsd:anyURI
is more than a URLdocumentation: http://www.w3.org/TR/xmlschema-2/#anyURI
see also http://books.xmlschemata.org/relaxng/ch19-77009.html
see also http://www.datypic.com/sc/xsd/t-xsd_anyURI.html
current implementation is done wrong - as followed:
The text was updated successfully, but these errors were encountered: