You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Creating a separate issue for the simpler/bug part of #255. As discussed there, we should ignore any unexpected XML with a warning on the standard error output, instead of just completely giving up.
The text was updated successfully, but these errors were encountered:
As far as I've seen so far, the convention with XML usually tends to be silently ignoring elements and attributes from unknown namespaces, which are usually used for ignorable vendor/etc. extensions, see for example JAXB's XML schema binding extensions that no one other than JAXB needs or reads, or some of LibreOffice's OpenDocument extensions. A warning is probably not necessary or desirable, as long as the known elements and attributes are okay, an info/debug-level message controlled by a verbose mode would make more sense.
It looks like this won't be straightforward to fix. quick-xml doesn't distinguish between namespaces when using serde deserialization: tafia/quick-xml#757, so zbus_xml will have to be refactored to use something like NsReader or xmlserde.
Creating a separate issue for the simpler/bug part of #255. As discussed there, we should ignore any unexpected XML with a warning on the standard error output, instead of just completely giving up.
The text was updated successfully, but these errors were encountered: