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
Some XML namespaces are versioned, based on the same prefix. In this case, when encountering a more generic prefix, the parser should still allow parsing:
e.g.
The latest OGC GML namespace is xmlns:gml="http://www.opengis.net/gml/3.2", but there are many who use xmlns:gml="http://www.opengis.net/gml".
There should be a way to override the namespace in parsing instead of gsubing the content prior to parse?
The text was updated successfully, but these errors were encountered:
ronaldtse
changed the title
XML namespace parse overriding
XML namespace parse overriding or handling multiple namespaces inside one class
May 25, 2024
Some XML namespaces are versioned, based on the same prefix. In this case, when encountering a more generic prefix, the parser should still allow parsing:
e.g.
The latest OGC GML namespace is
xmlns:gml="http://www.opengis.net/gml/3.2"
, but there are many who usexmlns:gml="http://www.opengis.net/gml"
.There should be a way to override the namespace in parsing instead of
gsub
ing the content prior to parse?The workaround right now is:
The text was updated successfully, but these errors were encountered: