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
* Return the UI5 Namespace from the specified or default XML Element namespace
*
* @param xmlElement
* @param model
*/
exportfunctiongetUI5NodeFromXMLElementNamespace(
xmlElement: XMLElement,
model: UI5SemanticModel
): {
namespace: BaseUI5Node|undefined;
isDefault: boolean;
isXmlnsDefined: boolean;
};
This is due to some possible edge cases that existed or may exist in the UI5 SDK.
Some namespaces were mistakenly defined as an enum.
In theory a UI5 Class may appear as a member of another UI5 Class (although no relevant instance is known).
Such a change may affect the behavior of some features, for example:
Unknown namespace error in XMLView, how to treat a completely unknown namespace (foo.bar.x) versus a partially known but invalid namespace (sap.ui.core.x).
The
namespace
property returned is aBaseUI5Node
, Should it be a plain UI5Namespace instead?ui5-language-assistant/packages/logic-utils/api.d.ts
Lines 152 to 165 in f2d2923
This is due to some possible edge cases that existed or may exist in the UI5 SDK.
Such a change may affect the behavior of some features, for example:
Relevant draft PR:
The text was updated successfully, but these errors were encountered: