Skip to content

Parsing failure in AppleAES3Audio.component #5

@stonegray

Description

@stonegray

This error gets emitted from the plist library when parsing AppleAES3Audio.component on macOS Sonoma 14.4

We're wrapping the call correctly with try/catch; expected operation is adding a message to the .error array, observed operation is printing to stdout.

[xmldom error]  element parse error: Error: attribute equal must after attrName
@#[line:3,col:30]
Error parsing  AppleAES3Audio.component TypeError: Cannot read properties of null (reading 'nodeName')
    at Object.parse (/Users/stonegray/git/plugin-detect/node_modules/plist/lib/parse.js:68:25)
    at readPlistFile (file:///Users/stonegray/git/plugin-detect/src/util/readPlistFile.js:25:20)
    at async scanPlugin (file:///Users/stonegray/git/plugin-detect/src/scanPlugin.js:20:16)
    at async getUserPlugins (file:///Users/stonegray/git/plugin-detect/src/getUserPlugins.js:46:15)
    at async getPlugins (file:///Users/stonegray/git/plugin-detect/src/index.js:29:32)
    at async file:///Users/stonegray/git/plugin-detect/example/example.js:3:17

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions