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
getChildText uses this.name to find the child while getChildren, and thus getChild, uses this.getName(). However, this behavior should be consistent to avoid confusion and bugs.
The text was updated successfully, but these errors were encountered:
I'm removing the ability to specify the prefix at all. Pass a full namespace instead. I hope you don't see this as a limitation, prefixes depend on specific implementations and you shouldn't hard code any.
The
getChild
,getChildren
andgetChildText
methods behave inconsistently on prefixed elements.Example:
getChildText
usesthis.name
to find the child whilegetChildren
, and thusgetChild
, usesthis.getName()
. However, this behavior should be consistent to avoid confusion and bugs.The text was updated successfully, but these errors were encountered: