-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
A resource with MRID f1769930-9aeb-11e5-91da-b8763fd99c5f is represented in the SVG with id idf1769930_45_9aeb_45_11e5_45_91da_45_b8763fd99c5f i.e.
- the word
idis prepended -is replaced with the code_45_
To enable scenarios where the user clicks on a diagram element then asks questions about the corresponding PSR, it will be easier if the SVG id is nearly the same as the MRID.
- CIM XML already uses a convention like
rdf:about="#_f1769930-9aeb-11e5-91da-b8763fd99c5fwhere_is prepended - I'm not sure what is the syntax of SVG id's; Gemini tells me "begins with a letter (A-Z or a-z) and can be followed by any number of letters, digits (0-9), hyphens (-), underscores (_), colons (:), and periods (.)" but I'm pretty sure it can begin with
_
Is it possible to use _<mrid> as the id?
(Note: in our case the semantic URNs are urn:uuid:f1769930-9aeb-11e5-91da-b8763fd99c5f but it's still easier not to deal with the code _45_)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels