lengerrong
lengerrong
if you installed oc before, please remember run below command: ```brew link openshift-cli``` otherwise, the ```oc``` command still links to the old one and still reports the same issue.
``` new Proxy(result1, { get: (target, propKey, receiver) => { let type = Reflect.get(target, 'type', receiver); if (type === 'element' && propKey !== 'attributes' || !type && propKey !== 'declaration'...
it is not xml2js lib's bug. since the json object parsed from the xml string do not have the sequence information. ``` { 'a:p': { 'a:pPr': [ [Object] ], 'a:r':...
log a ticket to xml2js, hope can find a solution then. https://github.com/Leonidas-from-XIV/node-xml2js/issues/621
The parsed json object is like: ``` { 'a:p': { '#name': 'a:p', '$$': [ [Object], [Object], [Object], [Object], [Object] ], 'a:pPr': [ [Object] ], 'a:r': [ [Object], [Object] ], 'a:br':...
it seems like xml2js.Builder didn't support preserveChildrenOrder:true option yet.
notice the same issue, any update on the thread?