-
Notifications
You must be signed in to change notification settings - Fork 601
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
Wrong SAX parser factory configuration on Android #247
Comments
Try using the previous release "2.1.2-SNAPSHOT". Seems to be based on this fix: |
+1 |
Workaround: switch to the UDA10ServiceDescriptorBinderImpl as like it's described here in the manual: override fun getServiceDescriptorBinderUDA10(): ServiceDescriptorBinder? {
return UDA10ServiceDescriptorBinderImpl()
} this is Kotlin code, in Java just use the function like you usually would (check the manual link if you need to know which class) and use the same return, but of course don't forget the |
courville
added a commit
to nova-video-player/cling
that referenced
this issue
May 5, 2023
use UDA10ServiceDescriptorBinderImpl instead of UDA10ServiceDescriptorBinderSAXImpl in AndroidUpnpServiceConfiguration See 4thline#247 See nova-video-player/aos-AVP#74
courville
added a commit
to nova-video-player/seamless
that referenced
this issue
May 5, 2023
…thlineGH-9"" This reverts commit 6613247. This should not be necessary anymore by using in cling AndroidUpnpServiceConfiguration UDA10ServiceDescriptorBinderImpl instead of UDA10ServiceDescriptorBinderSAXImpl as advised in 4thline/cling#247 for a workaround. This will maintain seamless codebase aligned with EOL git repo.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When setting up SAX parser for service description in
org.seamless.xml.SAXParser:73
it configureshttp://apache.org/xml/features/disallow-doctype-decl
feature for the factory, but this feature is not supported inorg.apache.harmony.xml.parsers.SAXParserFactory
, thus it throwsorg.xml.sax.SAXNotRecognizedException: http://apache.org/xml/features/disallow-doctype-decl
.Consequently it's not possible to use this library on Android.
Or I'm missing some undocumented settings.
The text was updated successfully, but these errors were encountered: