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

bugFix resolving type mismatch w.r.t DescriptorType #4463

Conversation

stschr
Copy link
Contributor

@stschr stschr commented Apr 17, 2024

resolving #4461

Since DASH schema defines @value as xs:string, I strictly cast any incoming values to String as well. (i.e, avoiding dynamic typing within DescriptorType class), but also apply the cast prior to the String.match() method in inArray() method to increase robustness for cases where the value member get updated after init().

Additionally, I added unit tests for inArray() method.

@dsilhavy dsilhavy added this to the 5.0.0 milestone Apr 17, 2024
@stschr stschr requested a review from dsilhavy April 19, 2024 15:33
@stschr stschr force-pushed the dolby/descriptorType_bugfix branch from 02e6d28 to 6a90f96 Compare April 19, 2024 15:33
@dsilhavy dsilhavy merged commit 0e82824 into Dash-Industry-Forum:development Apr 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants