Commit fbc2e5a
Various fixes in the xmlexporter
- Map alias namespaces from server space to xml space before exporting
in order to avoid `BadNodeIdUnknown` exceptions when importing the
resulting XML file.
- Only use `ObjectIdNames` for name lookups if the target nodeid is in
namespace 0.
- Use the name part of the browse name when creating mappings for nodeids
not in namespace 0. Otherwise we end up with aliases like
e.g. `<Alias Alias="ns=2;i=4002">ns=2;i=4002</Alias>`.1 parent 954e3d7 commit fbc2e5a
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
330 | 330 | | |
331 | 331 | | |
332 | 332 | | |
333 | | - | |
| 333 | + | |
334 | 334 | | |
335 | 335 | | |
336 | 336 | | |
| |||
340 | 340 | | |
341 | 341 | | |
342 | 342 | | |
343 | | - | |
| 343 | + | |
344 | 344 | | |
345 | 345 | | |
346 | | - | |
| 346 | + | |
| 347 | + | |
347 | 348 | | |
348 | 349 | | |
349 | 350 | | |
| |||
0 commit comments