Giter Club home page Giter Club logo

linter-xmllint's Introduction

linter-xmllint

Build Status Plugin installs! Package version! Dependencies!

xmllint - The xmllint program parses XML files. It is useful for detecting errors XML code. See xmlsoft.org/xmllint.html for more informations about xmllint.

This package will lint your opened .xml files in Atom through xmllint linter.

The changelog lists the changes for each release.

Linter installation

Before using this package, you must ensure that xmllint is installed on your system. On recent versions of Mac OS X, xmllint comes pre-installed. To install xmllint on other platforms, do the following:

  • On Linux:

    [sudo] apt-get install libxml2-utils
    
  • On Windows, the current binary distribution is managed by Igor Zlatkovic (here) and there were some known issues with version 2.9.3 (20903) x86_64. The validation messages did not contain the filename and would not work with this plugin. The instructions below use the 2.7.8 (20708) x86 binary.

    1. Pick a location where to store the required files, e.g. C:\tools\xmllint.

    2. Browse to ftp://ftp.zlatkovic.com/libxml/ to get the needed files. If the versions are no longer available at root check the oldreleases folder.

    3. Download the following files:

    • iconv-1.9.2.win32.zip
    • libxml2-2.7.8.win32.zip
    • libxslt-1.1.26.win32.zip
    • zlib-1.2.5.win32.zip
    1. Extract all the files into the location we created in the first step. Example of extracted structure:
    C:\tools\xmllint\
    - bin
    - include
    - lib
    - share
    
    1. Add the bin directory to your path, e.g. C:\tools\xmllint\bin by calling
    • setx path %PATH%;C:\tools\xmllint\bin
    • This is a CLI command that will attempt to add it to your path, if your path is really long it will fail and you will have to do it manually through windows. Use quotes if your path has spaces.
    1. Open a new command prompt and try the command xmllint --version to see if it worked. If it worked you will see the version be (20708).

Installation

  • $ apm install linter-xmllint

linter-xmllint's People

Contributors

arcanemagus avatar dirk-thomas avatar greenkeeper[bot] avatar greenkeeperio-bot avatar hd-deman avatar jgrodskiy-donlen avatar jordanbtucker avatar keplersj avatar kevinsawicki avatar renovate-bot avatar steelbrain avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

linter-xmllint's Issues

Object.activate is deprecated.

AtomLinter v0.X.Y API has been deprecated. Please refer to the Linter docs to update and the latest API: https://github.com/AtomLinter/Linter/wiki/Migrating-to-the-new-API

Object.activate (/Users/egon/.atom/packages/linter/lib/main.coffee:57:8)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:221:30)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:213:14)
PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:452:21)

Uncaught Error: Attribute without value

I'm getting this error on Atom 1.6.2 when I try to edit any xml file:

TypeError: XRegExp is not a function
    at Object.module.exports.parseMessages (file:///C:/Users/nmartell/.atom/packages/linter-xmllint/lib/init.coffee:221:13)
    at file:///C:/Users/nmartell/.atom/packages/linter-xmllint/lib/init.coffee:68:21
    at process._tickCallback (node.js:368:9)

Uncaught TypeError: Invalid Point: (7, NaN)

Background: steelbrain/linter#560
(this is issue #13 after maxbrunsfeld’s help in atom/atom#7077 )

It can be solved by changing the regex from '(?[^\\^]*)\^' to '(?\d+): '
but this way some linting errors are not detected anymore, such as:

  1. not having the start tag of the root element
  2. deleting closing > from a closing element.

Steps:

  1. Play a bit with a bad xml file

Atom Version: 0.209.0
System: linux 4.0.5-1-ARCH
Thrown From: linter package, v0.12.7

Stack Trace

Uncaught TypeError: Invalid Point: (12, NaN)

At /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65

TypeError: Invalid Point: (12, NaN)
  at Function.module.exports.Point.assertValid (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
  at TextBuffer.module.exports.TextBuffer.clipPosition (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:956:13)
  at TextBuffer.module.exports.TextBuffer.clipRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:944:20)
  at TextBuffer.module.exports.TextBuffer.markRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:674:46)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/usr/share/atom/resources/app.asar/src/display-buffer.js:1381:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/usr/share/atom/resources/app.asar/src/text-editor.js:1265:59)
  at LinterView.createMarker (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:190:22)
  at LinterView.display (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:227:17)
  at LinterView.processMessage (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:178:8)
  at LinterView.processMessage (/home/arch/.config/atom/packages/linter/lib/linter-view.coffee:1:1)
  at /home/arch/.config/atom/packages/linter/lib/linter-view.coffee:164:14
  at LinterXmllint.Linter.processMessage (/home/arch/.config/atom/packages/linter/lib/linter.coffee:241:5)
  at /home/arch/.config/atom/packages/linter/lib/linter.coffee:173:8
  at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:213:47)
  at /usr/share/atom/resources/app.asar/src/buffered-process.js:227:18
  at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

     -0:01.0 core:backspace (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "audioBeep": false,
    "autoHideMenuBar": true,
    "projectHome": "/data",
    "disabledPackages": [
      "language-make",
      "autocomplete-css",
      "autocomplete-html",
      "autocomplete-plus",
      "autocomplete-snippets",
      "autosave",
      "autoflow",
      "background-tips",
      "deprecation-cop",
      "incompatible-packages",
      "language-c",
      "language-clojure",
      "language-csharp",
      "language-gfm",
      "language-go",
      "language-java",
      "autocomplete-atom-api",
      "language-mustache",
      "language-objective-c",
      "language-perl",
      "language-property-list",
      "language-ruby",
      "language-ruby-on-rails",
      "language-sql",
      "language-toml",
      "language-yaml",
      "markdown-preview",
      "open-on-github",
      "package-generator",
      "spell-check",
      "timecop",
      "welcome"
    ]
  },
  "linter": {}
}

Installed Packages

# User
emmet, v2.3.10
file-icons, v1.5.7
language-generic-config, v0.2.0
linter, v0.12.7
linter-flake8, v1.4.2
linter-tidy, v1.0.1
linter-xmllint, v0.0.6
pdf-view, v0.22.0
tabs-to-spaces, v0.11.0

# Dev
No dev packages

Not working

I have the addon installed, xmllint installed, findable in $PATH, and addon enabled.

When I edit a wrong XML file, the linter shows ✔️ No issues.

If I run xmllint manually, it shows:

website_event_templates.xml:522: parser error : Opening and ending tag mismatch: div line 493 and template
</template>
           ^
website_event_templates.xml:715: parser error : Opening and ending tag mismatch: template line 482 and odoo
</odoo>
       ^
website_event_templates.xml:716: parser error : Premature end of data in tag odoo line 2

XSLT doesn't work again

Hi there,

I didn't check why, but somehow the XSLT support was dropped (which was added in 0.0.7)

Found out, that changing the grammarScopes to following line worked for me

grammarScopes: ['text.xml','text.xml.xsl']

Is it possible, to bring back native XSLT-Support?

Uncaught Error: Non-whitespace before first tag.Line: 0Column: 2Char: /

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.28.0 x64
Electron: 2.0.3
OS: Unknown Windows version
Thrown From: linter-xmllint package 1.4.4

Stack Trace

Uncaught Error: Non-whitespace before first tag.
Line: 0
Column: 2
Char: /

At events.js:183

Error: Non-whitespace before first tag.
Line: 0
Column: 2
Char: /
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at strictFail (/packages/linter-xmllint/node_modules/sax/lib/sax.js:677:7)
    at beginWhiteSpace (/packages/linter-xmllint/node_modules/sax/lib/sax.js:951:7)
    at SAXParser.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:1010:11)
    at SAXStream.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:239:18)
    at ReadableString.ondata (_stream_readable.js:639:20)
    at emitOne (events.js:116:13)
    at ReadableString.emit (events.js:211:7)
    at ReadableString.Readable.read (_stream_readable.js:475:10)
    at flow (_stream_readable.js:846:34)
    at resume_ (_stream_readable.js:828:3)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

Non-Core Packages

atom-ide-ui 0.12.0 
language-dtd 0.2.1 
linter 2.2.0 
linter-xmllint 1.4.4 

can't install libxml2-utils

I've installed linter, linter-xmllint, and xmllint successfully, but linter-xmllint doesn't work. xmllint does work from CLI. libxml2-utils install, tried two ways, fails as follows (with Yosemite):

~$ sudo apt-get install libxml2-utils
Password:
Reading Package Lists... Done
Building Dependency Tree... Done
W: Couldn't stat source package list ftp://ftp.logilab.org unstable/ Packages (/sw/var/lib/apt/lists/ftp.logilab.org_pub_debian_unstable_Packages) - stat (2 No such file or directory)
W: Couldn't stat source package list ftp://ftp.logilab.org unstable/ Packages (/sw/var/lib/apt/lists/ftp.logilab.org_pub_debian_unstable_Packages) - stat (2 No such file or directory)
W: You may want to run apt-get update to correct these problems
E: Couldn't find package libxml2-utils
~$ brew install --with-python libxml2-utils
Error: No available formula for libxml2-utils
==> Searching formulae...
==> Searching taps...
~$

How to add the schema for xml validation

I see that in the development console that it run xmllint. I do not see how to specify the xsd file that will be used. I know that when running from the command line I can use the --schema argument to indicate the xsd file. Am I missing something when running from atom.

Uncaught TypeError: Invalid Point: (11, NaN)

Coming from steelbrain/linter#569.

[Enter steps to reproduce below:]

  1. Edit an XML file.
  2. Start adding a new element writing <.

Atom Version: 0.210.0
System: "Fedora release
Thrown From: linter package, v0.12.7

Stack Trace

Uncaught TypeError: Invalid Point: (11, NaN)

At /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65

TypeError: Invalid Point: (11, NaN)
  at Function.module.exports.Point.assertValid (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
  at TextBuffer.module.exports.TextBuffer.clipPosition (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:956:13)
  at TextBuffer.module.exports.TextBuffer.clipRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:944:20)
  at TextBuffer.module.exports.TextBuffer.markRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:674:46)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/usr/share/atom/resources/app.asar/src/display-buffer.js:1383:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/usr/share/atom/resources/app.asar/src/text-editor.js:1269:59)
  at LinterView.createMarker (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:190:22)
  at LinterView.display (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:227:17)
  at LinterView.processMessage (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:178:8)
  at LinterView.processMessage (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:1:1)
  at /home/jllopis/.atom/packages/linter/lib/linter-view.coffee:164:14
  at LinterXmllint.Linter.processMessage (/home/jllopis/.atom/packages/linter/lib/linter.coffee:241:5)
  at /home/jllopis/.atom/packages/linter/lib/linter.coffee:173:8
  at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:213:47)
  at /usr/share/atom/resources/app.asar/src/buffered-process.js:227:18
  at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

     -1:13.6.0 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
     -1:13.2.0 core:backspace (atom-text-editor.editor.is-focused)
  2x -1:11.3.0 editor:move-to-end-of-word (atom-text-editor.editor.is-focused)
     -1:09.7.0 core:move-right (atom-text-editor.editor.is-focused)
     -1:07.9.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
     -1:07.0 core:cut (atom-text-editor.editor.is-focused)
     -1:06.7.0 core:delete (atom-text-editor.editor.is-focused)
     -1:06.3.0 core:move-down (atom-text-editor.editor.is-focused)
  2x -1:05.9.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -1:05.4.0 core:paste (atom-text-editor.editor.is-focused)
     -1:03.9.0 core:save (atom-text-editor.editor.is-focused)
     -0:58.2.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  2x -0:33 core:close (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:12.4.0 core:move-left (atom-text-editor.editor.is-focused)
     -0:07.6.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -0:07.2.0 editor:newline (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true
  },
  "linter": {
    "subtleLinterErrors": [
      "xmllint",
      "flake8"
    ],
    "ignoredLinterErrors": [
      "php"
    ]
  }
}

Installed Packages

# User
editorconfig, v1.0.0
language-docker, v1.1.3
language-restructuredtext, v0.6.0
linter, v0.12.7
linter-flake8, v1.4.2
linter-php, v0.0.15
linter-xmllint, v0.0.6
minimap, v4.10.0
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
minimap-selection, v4.2.0
rst-preview-pandoc, v0.1.9

# Dev
No dev packages

Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:

  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }
Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:790:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:715:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:169:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)

Uncaught TypeError: Invalid Point: (6, NaN)

[Enter steps to reproduce below:]

Test file:

<hello>
  <world>
    <this>
      <is>asdf
      </is>
    </this
  </world>ttss



</hells>
asdf

Atom Version: 1.0.0
System: Mac OS X 10.10.3
Thrown From: linter package, v1.1.0

Stack Trace

Uncaught TypeError: Invalid Point: (6, NaN)

At /Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65

TypeError: Invalid Point: (6, NaN)
  at Function.module.exports.Point.assertValid (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
  at TextBuffer.module.exports.TextBuffer.clipPosition (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:956:13)
  at TextBuffer.module.exports.TextBuffer.clipRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:944:20)
  at TextBuffer.module.exports.TextBuffer.markRange (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:674:46)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/display-buffer.js:1383:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1269:59)
  at /Users/bretthowell/.atom/packages/linter/lib/linter-views.coffee:227:45
  at Set.forEach (native)
  at LinterViews.renderPanel (/Users/bretthowell/.atom/packages/linter/lib/linter-views.coffee:224:15)
  at LinterViews.updateCurrentLine (/Users/bretthowell/.atom/packages/linter/lib/linter-views.coffee:138:8)
  at /Users/bretthowell/.atom/packages/linter/lib/editor-linter.coffee:22:23
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at TextEditor.module.exports.TextEditor.cursorMoved (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1580:27)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/cursor.js:56:31
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Marker.module.exports.Marker.notifyObservers (/Applications/Atom.app/Contents/Resources/app.asar/src/marker.js:270:27)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/marker.js:65:26
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at Marker.module.exports.Marker.emitChangeEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:400:20)
  at Marker.module.exports.Marker.update (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:345:12)
  at Marker.module.exports.Marker.setHeadPosition (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/text-buffer/lib/marker.js:143:19)
  at Marker.module.exports.Marker.setHeadBufferPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/marker.js:175:32)
  at Marker.module.exports.Marker.setHeadScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/marker.js:185:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/cursor.js:121:31
  at Cursor.module.exports.Cursor.changePosition (/Applications/Atom.app/Contents/Resources/app.asar/src/cursor.js:683:7)
  at Cursor.module.exports.Cursor.setScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/cursor.js:119:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1371:23
  at TextEditor.module.exports.TextEditor.moveCursors (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1571:9)
  at TextEditor.module.exports.TextEditor.setCursorScreenPosition (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor.js:1370:19)
  at TextEditorComponent.module.exports.TextEditorComponent.onMouseDown (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:557:25)
  at HTMLDivElement.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/text-editor-component.js:3:61)

Commands

     -0:20.8.0 core:save (atom-text-editor.editor.is-focused)
 10x -0:19.9.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:16 core:save (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "one-dark-syntax"
    ],
    "disabledPackages": [
      "linter-xmllint"
    ]
  },
  "linter": {}
}

Installed Packages

# User
language-swift, v0.4.0
less-than-slash, v0.6.0
linter, v1.1.0

# Dev
No dev packages

Atom goes mad when package is enabled

Atom (v 0.201) goes crazy when xmllint is enabled and detects errors: when I put the cursor on the affected line and try to edit it weird things happen. Such as: copy-paste stops working; pressing < and > clones text beside cursor; clicking backspace pops up this error:

/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:683
Hide Stack Trace
TypeError: Cannot read property 'start' of undefined
at Function.module.exports.Range.fromObject (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/range.js:35:31)
at Range.module.exports.Range.compare (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/range.js:185:32)
at Marker.module.exports.Marker.emitChangeEvent (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/marker.js:362:156)
at Marker.module.exports.Marker.update (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/marker.js:335:12)
at Marker.module.exports.Marker.setProperties (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/marker.js:229:19)
at Marker.module.exports.Marker.setProperties (/usr/share/atom/resources/app.asar/src/marker.js:98:32)
at Selection.module.exports.Selection.clear (/usr/share/atom/resources/app.asar/src/selection.js:199:19)
at Cursor.module.exports.Cursor.clearSelection (/usr/share/atom/resources/app.asar/src/cursor.js:653:55)
at Cursor.module.exports.Cursor.changePosition (/usr/share/atom/resources/app.asar/src/cursor.js:680:12)
at Cursor.module.exports.Cursor.setBufferPosition (/usr/share/atom/resources/app.asar/src/cursor.js:134:19)
at Selection.module.exports.Selection.deleteSelectedText (/usr/share/atom/resources/app.asar/src/selection.js:562:81)
at Selection.module.exports.Selection.backspace (/usr/share/atom/resources/app.asar/src/selection.js:489:19)
at /usr/share/atom/resources/app.asar/src/text-editor.js:758:26
at /usr/share/atom/resources/app.asar/src/text-editor.js:771:29
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:678:18)
at TextEditor.module.exports.TextEditor.transact (/usr/share/atom/resources/app.asar/src/text-editor.js:1132:26)
at /usr/share/atom/resources/app.asar/src/text-editor.js:765:24
at TextEditor.module.exports.TextEditor.mergeSelections (/usr/share/atom/resources/app.asar/src/text-editor.js:1950:43)
at TextEditor.module.exports.TextEditor.mergeIntersectingSelections (/usr/share/atom/resources/app.asar/src/text-editor.js:1924:35)
at TextEditor.module.exports.TextEditor.mutateSelectedText (/usr/share/atom/resources/app.asar/src/text-editor.js:763:19)
at TextEditor.module.exports.TextEditor.backspace (/usr/share/atom/resources/app.asar/src/text-editor.js:757:19)
at TextEditor.atom.commands.add.stopEventPropagationAndGroupUndo.core:backspace (/usr/share/atom/resources/app.asar/src/text-editor-element.js:425:19)
at /usr/share/atom/resources/app.asar/src/text-editor-element.js:305:34
at TextBuffer.module.exports.TextBuffer.transact (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:678:18)
at TextEditor.module.exports.TextEditor.transact (/usr/share/atom/resources/app.asar/src/text-editor.js:1132:26)
at atom-text-editor.newCommandListeners.(anonymous function) (/usr/share/atom/resources/app.asar/src/text-editor-element.js:304:22)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:238:29)
at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:519:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:354:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:178:20)

Uncaught Error: Invalid character entityLine: 8Column: 31Char: ;

Hello guys,
I'm using linter xmllint since a few days, here is the config.

Atom: 1.24.0 x64
Electron: 1.6.16
OS: Ubuntu 16.04.3
Thrown From: linter-xmllint package 1.4.3

Atom is throwing me this message any time i'm doing something in a .xml file. Can someone help me?

Stack Trace

Uncaught Error: Invalid character entity
Line: 8
Column: 31
Char: ;

At events.js:160

Error: Invalid character entity
Line: 8
Column: 31
Char: ;
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at strictFail (/packages/linter-xmllint/node_modules/sax/lib/sax.js:677:7)
    at parseEntity (/packages/linter-xmllint/node_modules/sax/lib/sax.js:937:7)
    at SAXParser.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:1485:31)
    at SAXStream.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:239:18)
    at ReadableString.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at ReadableString.emit (events.js:188:7)
    at ReadableString.Readable.read (_stream_readable.js:381:10)
    at flow (_stream_readable.js:761:34)
    at resume_ (_stream_readable.js:743:3)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Detect schema using xml-model

xml-model is a language-independent method of associating a schema with an XML document (essentially a more advanced version of DOCTYPE). Take a look at the Oxygen XML editor if you want an implementation example.

This is the only way for associating Relax NG and Schematron schemata with an XML document, and hence is necessary to implementing #29 (example given there).

xmllint error

uninstalled, reinstalled xmllint
uninstalled, reinstalled Atom
Always get this error when xmllint is used

Error: spawn xmllint ENOENT

Error: spawn xmllint ENOENT
at getENOENTError (C:\Users\rjhanson.atom\packages\linter-xmllint\node_modules\sb-exec\lib\helpers.js:159:15)
at ChildProcess. (C:\Users\rjhanson.atom\packages\linter-xmllint\node_modules\sb-exec\lib\index.js:50:46)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Dell Precision 7510 laptop
Windows 7
Intel I7 processor
32 GB RAM

new to Atom so I am no help, but could use some help

Uncaught TypeError: Invalid Point: (12, NaN)

Coming from steelbrain/linter#570.

[Enter steps to reproduce below:]

  1. Edit an XML file.
  2. It raises many times while writing, so I don't know what raises it.

Atom Version: 0.210.0
System: "Fedora release
Thrown From: linter package, v0.12.7

Stack Trace

Uncaught TypeError: Invalid Point: (12, NaN)

At /usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65

TypeError: Invalid Point: (12, NaN)
  at Function.module.exports.Point.assertValid (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/point.js:65:15)
  at TextBuffer.module.exports.TextBuffer.clipPosition (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:956:13)
  at TextBuffer.module.exports.TextBuffer.clipRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:944:20)
  at TextBuffer.module.exports.TextBuffer.markRange (/usr/share/atom/resources/app.asar/node_modules/text-buffer/lib/text-buffer.js:674:46)
  at DisplayBuffer.module.exports.DisplayBuffer.markBufferRange (/usr/share/atom/resources/app.asar/src/display-buffer.js:1383:41)
  at TextEditor.module.exports.TextEditor.markBufferRange (/usr/share/atom/resources/app.asar/src/text-editor.js:1269:59)
  at LinterView.createMarker (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:190:22)
  at LinterView.display (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:227:17)
  at LinterView.processMessage (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:178:8)
  at LinterView.processMessage (/home/jllopis/.atom/packages/linter/lib/linter-view.coffee:1:1)
  at /home/jllopis/.atom/packages/linter/lib/linter-view.coffee:164:14
  at LinterXmllint.Linter.processMessage (/home/jllopis/.atom/packages/linter/lib/linter.coffee:241:5)
  at /home/jllopis/.atom/packages/linter/lib/linter.coffee:173:8
  at triggerExitCallback (/usr/share/atom/resources/app.asar/src/buffered-process.js:213:47)
  at /usr/share/atom/resources/app.asar/src/buffered-process.js:227:18
  at Socket.<anonymous> (/usr/share/atom/resources/app.asar/src/buffered-process.js:98:18)
  at emitOne (events.js:82:20)
  at Socket.emit (events.js:166:7)
  at Pipe.close (net.js:464:12)

Commands

     -2:34.1.0 core:move-right (atom-text-editor.editor.is-focused)
     -2:32.4.0 editor:select-to-end-of-word (atom-text-editor.editor.is-focused)
     -2:31.5.0 core:cut (atom-text-editor.editor.is-focused)
     -2:31.2.0 core:delete (atom-text-editor.editor.is-focused)
     -2:30.7.0 core:move-down (atom-text-editor.editor.is-focused)
  2x -2:30.4.0 editor:move-to-beginning-of-word (atom-text-editor.editor.is-focused)
     -2:29.8.0 core:paste (atom-text-editor.editor.is-focused)
     -2:28.4.0 core:save (atom-text-editor.editor.is-focused)
     -2:22.6.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
  2x -1:57.5.0 core:close (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -1:36.9.0 core:move-left (atom-text-editor.editor.is-focused)
     -1:32.1.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused)
     -1:31.7.0 editor:newline (atom-text-editor.editor.is-focused)
     -0:16.1.0 editor:move-to-end-of-screen-line (atom-text-editor.editor.is-focused.autocomplete-active)
     -0:05.4.0 core:save (atom-text-editor.editor.is-focused)
     -0:04.8.0 core:close (atom-text-editor.editor.is-focused)

Config

{
  "core": {
    "autoHideMenuBar": true
  },
  "linter": {
    "subtleLinterErrors": [
      "xmllint",
      "flake8"
    ],
    "ignoredLinterErrors": [
      "php"
    ]
  }
}

Installed Packages

# User
editorconfig, v1.0.0
language-docker, v1.1.3
language-restructuredtext, v0.6.0
linter, v0.12.7
linter-flake8, v1.4.2
linter-php, v0.0.15
linter-xmllint, v0.0.6
minimap, v4.10.0
minimap-bookmarks, v0.1.0
minimap-find-and-replace, v4.2.0
minimap-git-diff, v4.1.3
minimap-highlight-selected, v4.3.0
minimap-selection, v4.2.0
rst-preview-pandoc, v0.1.9

# Dev
No dev packages

linter-xmllint doesn't work

I tried to use Atom to verify my xml file and check errors, but the package linter-xmllint seems to do nothing. Nor linter errors or warnings pop up on my file even though I make them to see if it's works.

Also check XSL files

XSLT files are valid XML files and xmllint works on them but the linter is not enabled when the XSL grammar is selected.

Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:

  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }
Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:790:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:715:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:169:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)

Uncaught Error: Unexpected endLine: 3Column: 0Char:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.36.1 x64
Electron: 2.0.18
OS: Unknown Windows version
Thrown From: linter-xmllint package 1.4.4

Stack Trace

Uncaught Error: Unexpected end
Line: 3
Column: 0
Char:

At events.js:183

Error: Unexpected end
Line: 3
Column: 0
Char: 
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:662:7)
    at SAXParser.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
    at ReadableString.onend (_stream_readable.js:595:10)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:106:13)
    at ReadableString.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

     -5:33.9.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -5:26.9.0 core:confirm (input.hidden-input)
     -4:54.8.0 intentions:highlight (input.hidden-input)
     -4:54.5.0 core:copy (input.hidden-input)
     -4:52.8.0 intentions:highlight (input.hidden-input)
     -4:52.7.0 core:paste (input.hidden-input)
     -4:48.9.0 editor:newline (input.hidden-input)
     -3:15.9.0 intentions:highlight (input.hidden-input)
     -3:15.6.0 core:save (input.hidden-input)
  3x -2:39 intentions:highlight (input.hidden-input)
     -2:38.5.0 core:save (input.hidden-input)
     -1:20.5.0 editor:newline (input.hidden-input)
     -1:13.7.0 core:backspace (input.hidden-input)
 26x -1:12.8.0 intentions:highlight (input.hidden-input)
     -1:10.3.0 core:save (input.hidden-input)
     -0:36.9.0 editor:newline (input.hidden-input)

Non-Core Packages

autocomplete-clang 0.11.5 
build 0.70.0 
busy-signal 2.0.1 
file-icons 2.1.32 
intentions 1.1.5 
language-ini 1.20.0 
linter 2.3.0 
linter-gcc 0.7.1 
linter-golinter 1.3.0 
linter-gotype 1.0.0 
linter-ui-default 1.7.1 
linter-xmllint 1.4.4 
platformio-ide 2.3.1 
platformio-ide-debugger 1.2.6 
platformio-ide-terminal 2.9.1 
tool-bar 1.1.11 

Linter not applied if xml file not saved on disk

Steps:

  • Create new file (File->New file)
  • Paste some xml
  • Manually change grammar to xml (ctrl-shift-L)
  • Change the xml so that it becomes invalid
  • Observe the linter has nothing to complain
  • Save the file on disk
  • Linter detects the error

Versions: Atom 1.10.0/Windows 7

On the other hand, if the file is already persisted on disk and I do some changes without saving them, the linter works fine. So it seems it is able to work on content that is only in memory.

Start up error

when opening a file this is the error I get from atom.

Error: spawn xmllint ENOENT
at getENOENTError (C:\Users\Dylan.atom\packages\linter-xmllint\node_modules\sb-exec\lib\helpers.js:159:15)
at ChildProcess. (C:\Users\Dylan.atom\packages\linter-xmllint\node_modules\sb-exec\lib\index.js:50:46)
at emitTwo (events.js:106:13)
at ChildProcess.emit (events.js:191:7)
at maybeClose (internal/child_process.js:877:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)

Error: Unexpected close tag Line: 3 Column: 6 Char: >

  1. Just attempted to use with test xml/xsd

test_xml.zip

Atom Version: 1.5.3
System: Microsoft Windows 8.1 Enterprise
Thrown From: linter-xmllint package, v1.3.2

Stack Trace

Uncaught Error: Unexpected close tag
Line: 3
Column: 6
Char: >

At events.js:141


Error: Unexpected close tag
Line: 3
Column: 6
Char: >
    at error (atom\packages\linter-xmllint\node_modules\sax\lib\sax.js:666:10)
    at strictFail (atom\packages\linter-xmllint\node_modules\sax\lib\sax.js:692:7)
    at closeTag (atom\packages\linter-xmllint\node_modules\sax\lib\sax.js:885:9)
    at Object.write (atom\packages\linter-xmllint\node_modules\sax\lib\sax.js:1444:13)
    at SAXStream.write atom\packages\linter-xmllint\node_modules\sax\lib\sax.js:238:18)
    at ReadableString.ondata (_stream_readable.js:525:20)
    at emitOne (events.js:77:13)
    at ReadableString.emit (events.js:169:7)
    at ReadableString.Readable.read (_stream_readable.js:360:10)
    at flow (_stream_readable.js:733:26)
    at resume_ (_stream_readable.js:713:3)
    at doNTCallback2 (node.js:441:9)
    at process._tickCallback (node.js:355:17)

Uncaught Error: Attribute without valueLine: 2 Column: 16 Char:>

Steps : 1) Open an XML file
2) Delete a line, for example : <peoples> <people>Somebody</people> </peoples>

Atom: 1.24.1 x64
Electron: 1.6.16
OS: Windows 10 Familial (Version 10.0.16299 Number 16299)
Thrown From: linter-xmllint package 1.4.3

Stack Trace

Uncaught Error: Attribute without value
Line: 2
Column: 16
Char: >

At events.js:160

Error: Attribute without value
Line: 2
Column: 16
Char: >
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at strictFail (/packages/linter-xmllint/node_modules/sax/lib/sax.js:677:7)
    at SAXParser.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:1321:13)
    at SAXStream.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:239:18)
    at ReadableString.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at ReadableString.emit (events.js:188:7)
    at ReadableString.Readable.read (_stream_readable.js:381:10)
    at flow (_stream_readable.js:761:34)
    at resume_ (_stream_readable.js:743:3)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

  2x -7:44.6.0 core:copy (input.hidden-input)
     -7:42.3.0 editor:newline (input.hidden-input)
     -7:41.8.0 core:move-up (input.hidden-input)
     -7:41.6.0 intentions:highlight (input.hidden-input)
     -7:41.5.0 core:paste (input.hidden-input)
     -7:41.2.0 intentions:highlight (input.hidden-input)
     -7:41.1.0 core:save (input.hidden-input)
     -7:37.6.0 editor:newline (input.hidden-input)
     -7:37.3.0 core:move-up (input.hidden-input)
     -7:37.1.0 intentions:highlight (input.hidden-input)
     -7:37 core:paste (input.hidden-input)
     -7:36.5.0 intentions:highlight (input.hidden-input)
     -7:36.4.0 core:save (input.hidden-input)
  2x -7:04.8.0 core:backspace (input.hidden-input)
     -7:04.4.0 intentions:highlight (input.hidden-input)
     -7:04.4.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.32.2 
atom-clock 0.1.16 
atom-ide-ui 0.9.3 
atom-python-run 0.9.6 
autocomplete-python 1.10.5 
autocomplete-xml 0.9.4 
autumn-highlighter-syntax 1.13.0 
busy-signal 1.4.3 
highlight-selected 0.13.1 
Hydrogen 2.3.0 
ide-csharp 0.6.2 
intentions 1.1.5 
kite 0.72.0 
linter 2.2.0 
linter-ui-default 1.7.1 
linter-xmllint 1.4.3 
package-switch 0.5.0 
python-tools 0.6.9 
sync-settings 0.8.5 
webbox-color 0.5.9 
xml-formatter 0.11.0 

Remote DTD throws 'no DTD found' error

The following xml fails to validate:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Users PUBLIC "-//ILIAS//DTD UserImport//EN" "https://ilias.uni-marburg.de/xml/ilias_user_5_1.dtd">
<Users>
  <User Id="il_1805_usr_2438697" Language="de" Action="Delete">
    <Login>sz002</Login>
  </User>
</Users>

When downloading the DTD and referencing the local file, validation works as expected...


Atom: 1.51
Linter-XMLLint: 1.4.4
xmllint/libxml: 20910
OS: Manjaro (Arch-Linux)

Config.unobserve is deprecated.

Config::unobserve no longer does anything. Call .dispose() on the object returned by Config::observe instead.

Config.unobserve (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:1060:19)
LinterXmllint.destroy (/Users/egon/.atom/packages/linter-xmllint/lib/linter-xmllint.coffee:36:16)
LinterView.remove (/Users/egon/.atom/packages/linter/lib/linter-view.coffee:252:6)
<unknown> (/Users/egon/.atom/packages/linter/lib/linter-view.coffee:124:7)

Uncaught Error: Unexpected close tag Line: 3 Column: 18 Char: >

  1. Open an XML file
  2. Write <name>1</nme> in it.

I have a lot of issues, so it may be my fault. I don't have the time to seek for the offending, so I'm letting this issue here and I'll just deactivate the package for now

Atom: 1.24.1 x64
Electron: 1.6.16
OS: Windows 10 Familial (Version 10.0.16299 Number 16299)
Thrown From: linter-xmllint package 1.4.3

Stack Trace

Uncaught Error: Unexpected close tag
Line: 3
Column: 18
Char: >

At events.js:160

Error: Unexpected close tag
Line: 3
Column: 18
Char: >
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at strictFail (/packages/linter-xmllint/node_modules/sax/lib/sax.js:677:7)
    at closeTag (/packages/linter-xmllint/node_modules/sax/lib/sax.js:871:9)
    at SAXParser.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:1436:13)
    at SAXStream.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:239:18)
    at ReadableString.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at ReadableString.emit (events.js:188:7)
    at ReadableString.Readable.read (_stream_readable.js:381:10)
    at flow (_stream_readable.js:761:34)
    at resume_ (_stream_readable.js:743:3)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -5:08.9.0 intentions:highlight (input.hidden-input)
     -5:08.8.0 core:paste (input.hidden-input)
     -5:08.5.0 intentions:highlight (input.hidden-input)
     -5:08.4.0 core:save (input.hidden-input)
     -4:10.5.0 core:backspace (input.hidden-input)
     -4:10.1.0 intentions:highlight (input.hidden-input)
     -4:10 core:save (input.hidden-input)
     -4:08.3.0 intentions:highlight (input.hidden-input)
  2x -4:08.1.0 core:copy (input.hidden-input)
  2x -4:07.0 editor:newline (input.hidden-input)
     -4:06.7.0 intentions:highlight (input.hidden-input)
     -4:06.6.0 core:paste (input.hidden-input)
     -4:04.1.0 core:delete (input.hidden-input)
     -4:03.2.0 intentions:highlight (input.hidden-input)
     -4:03.1.0 core:save (input.hidden-input)
  6x -1:48.4.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-beautify 0.32.2 
atom-clock 0.1.16 
atom-ide-ui 0.9.3 
atom-python-run 0.9.6 
autocomplete-python 1.10.5 
autocomplete-xml 0.9.4 
autumn-highlighter-syntax 1.13.0 
busy-signal 1.4.3 
highlight-selected 0.13.1 
Hydrogen 2.3.0 
ide-csharp 0.6.2 
intentions 1.1.5 
kite 0.72.0 
linter 2.2.0 
linter-ui-default 1.7.1 
linter-xmllint 1.4.3 
package-switch 0.5.0 
python-tools 0.6.9 
sync-settings 0.8.5 
webbox-color 0.5.9 
xml-formatter 0.11.0 

xml linter instal on w10

Error running xmllint Error: Failed to spawn command xmllint. Make sure xmllint is installed and on your PATH
at C:\Users\bmcba.atom\packages\linter-xmllint\node_modules\atom-linter\lib\helpers.js:130:24
at process._tickCallback (internal/process/next_tick.js:103:7)

Uncaught Error: Unexpected endLine: 0Column: 1Char:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.18.0-beta0 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: linter-xmllint package 1.4.2

Stack Trace

Uncaught Error: Unexpected end
Line: 0
Column: 1
Char:

At events.js:160

Error: Unexpected end
Line: 0
Column: 1
Char: 
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:667:10)
    at end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:678:7)
    at Object.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
    at ReadableString.onend (_stream_readable.js:511:10)
    at ReadableString.g (events.js:286:16)
    at emitNone (events.js:86:13)
    at ReadableString.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

  2x -2:00.0 tree-view:remove-project-folder (span.name.icon.icon-repo)
  2x -1:53.7.0 application:add-project-folder (atom-pane.pane)
     -1:16.8.0 editor:newline (input.hidden-input)
  2x -1:10.8.0 core:backspace (input.hidden-input)
     -0:27.1.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -0:24 core:cancel (input.hidden-input)
     -0:21.2.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -0:19 core:confirm (input.hidden-input)
     -0:16 tree-view:add-file (span.name.icon.icon-file-directory)
     -0:10.2.0 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.29.26 
atom-odoo 0.0.1 
autocomplete-python 1.8.64 
busy-signal 1.4.3 
intentions 1.1.2 
linter 2.1.4 
linter-markdown 4.0.1 
linter-pycodestyle 2.0.2 
linter-sass-lint 1.7.4 
linter-tidy 2.3.1 
linter-ui-default 1.6.0 
linter-xmllint 1.4.2 
markdown-preview-plus 2.4.9 
tree-view-git-status 1.4.0 

Uncaught Error: Unexpected endLine: 2Column: 0Char:

[Enter steps to reproduce below:]

Hmmm... I didn't do anything special. I just had a simple, practically empty xml file that I started working on and always when I saved(or sometimes even when I was typing), it threw out this error.

Atom Version: 1.8.0
System: Mac OS X 10.11.6
Thrown From: linter-xmllint package, v1.3.5

Stack Trace

Uncaught Error: Unexpected end
Line: 2
Column: 0
Char:

At events.js:141

Error: Unexpected end
Line: 2
Column: 0
Char: 
  at error (/Users/felixkranich/.atom/packages/linter-xmllint/node_modules/sax/lib/sax.js:667:10)
  at end (/Users/felixkranich/.atom/packages/linter-xmllint/node_modules/sax/lib/sax.js:678:7)
  at Object.SAXParser.end (/Users/felixkranich/.atom/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
  at SAXStream.end (/Users/felixkranich/.atom/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
  at ReadableString.onend (_stream_readable.js:490:10)
  at ReadableString.g (events.js:260:16)
  at emitNone (events.js:67:13)
  at ReadableString.emit (events.js:166:7)
  at endReadableNT (_stream_readable.js:905:12)
  at doNTCallback2 (node.js:465:9)
  at process._tickCallback (node.js:379:17)

Commands

     -2:09.9.0 snippets:next-tab-stop (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -2:09.9.0 snippets:expand (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -2:09.9.0 editor:indent (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
  2x -2:09.5.0 core:backspace (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -2:07.6.0 core:save (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -2:06.7.0 settings-view:open (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -2:04.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:45.4.0 core:backspace (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:45.3.0 snippets:next-tab-stop (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:45.3.0 snippets:expand (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:45.3.0 editor:indent (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
  2x -0:44.5.0 core:backspace (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:00.9.0 snippets:next-tab-stop (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:00.9.0 snippets:expand (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:00.9.0 editor:indent (atom-text-editor.editor.vim-mode.insert-mode.is-focused)
     -0:00.4.0 core:backspace (atom-text-editor.editor.vim-mode.insert-mode.is-focused)

Config

{
  "core": {
    "customFileTypes": {
      "source.ini": [
        ".buckconfig",
        ".flowconfig"
      ],
      "source.json": [
        ".arcconfig",
        "BUCK.autodeps"
      ],
      "source.python": [
        "BUCK"
      ]
    },
    "disabledPackages": [
      "atom-terminal",
      "atom-terminal-panel",
      "open-terminal-here",
      "autocomplete-java",
      "hyperclick",
      "tree-view",
      "omnisharp-atom",
      "activate-power-mode",
      "linter-gcc",
      "linter-jslint",
      "linter-jscs",
      "change-tabs"
    ],
    "ignoredNames": [
      ".git",
      ".hg",
      ".svn",
      ".DS_Store",
      "._*",
      "Thumbs.db",
      "*.meta",
      "*.o"
    ],
    "packagesWithKeymapsDisabled": [
      "atom-terminal",
      "atom-terminal-panel",
      "open-terminal-here",
      "emmet",
      "sort-lines"
    ],
    "themes": [
      "excellent-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
atom-beautify, v0.29.10
atom-html-preview, v0.1.21
atom-ternjs, v0.14.2
atom-trello, v0.5.1
atom-yeoman, v0.3.15
autocomplete-clang, v0.9.4
autocomplete-computercraft, v1.0.0
autocomplete-emojis, v2.5.0
autocomplete-en-en, v0.2.0
autocomplete-folders, v0.4.1
autocomplete-glsl, v0.2.3
autocomplete-html-entities, v0.1.0
autocomplete-json, v5.1.0
autocomplete-love, v0.3.0
autocomplete-project-paths, v2.2.0
autocomplete-python, v1.8.2
autocomplete-ruby, v0.1.0
autocomplete-xml, v0.8.3
bottom-dock, v0.4.4
close-other-tabs, v0.1.0
color-picker, v2.2.2
documentation-renderer, v0.2.1
emmet, v2.4.3
excellent-ui, v2.2.1
file-types, v0.5.2
haskell-grammar, v0.4.0
highlight-selected, v0.11.2
hyperclick, v0.0.37
hyperclick-love, v0.4.0
java-importer, v1.4.1
json-schema, v0.1.15
language-arduino, v0.4.1
language-babel, v2.32.0
language-common-lisp, v0.8.1
language-csharp, v0.12.1
language-glsl, v2.0.1
language-htaccess, v0.1.1
language-ini, v1.16.0
language-lisp, v0.2.0
language-lua, v0.9.4
language-ocaml, v1.1.2
language-ruby, v0.69.0
language-rust, v0.4.6
language-thrift, v1.0.2
language-unity-shaderlab, v1.0.1
language-x86, v1.0.1
linter, v1.11.14
linter-alex, v3.2.0
linter-clang, v3.4.4
linter-erb, v1.0.2
linter-javac, v1.9.4
linter-jshint, v2.1.0
linter-luaparse, v0.2.0
linter-manager, v0.2.12
linter-mcs, v0.2.0
linter-php, v1.2.0
linter-python, v3.0.4
linter-ruby, v1.2.2
linter-rust, v0.4.6
linter-tslint, v0.10.0
linter-xmllint, v1.3.5
livereload, v0.4.4
love-ide, v0.11.0
maybs-quit, v1.3.0
merge-conflicts, v1.4.4
minimap, v4.24.7
nuclide, v0.157.0
pigments, v0.31.2
process-palette, v0.8.3
python-iresolve, v0.0.3
python-tools, v0.6.8
rails-i18n-autocomplete, v0.4.0
remote-sync, v4.1.2
save-autorun, v0.3.3
tab-switcher, v1.5.3
tab-title, v0.3.3
tidy-tabs, v0.3.0
todo-manager, v0.2.9
tool-bar, v1.0.0
tool-bar-main, v0.0.9
travis-ci-status, v1.1.1
vim-mode, v0.65.1
xml-tools, v0.2.1

# Dev
No dev packages

Uncaught Error: Unexpected endLine: 8Column: 0Char:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: linter-xmllint package 1.4.3

Stack Trace

Uncaught Error: Unexpected end
Line: 8
Column: 0
Char:

At events.js:160

Error: Unexpected end
Line: 8
Column: 0
Char: 
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:662:7)
    at SAXParser.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
    at ReadableString.onend (_stream_readable.js:511:10)
    at Object.onceWrapper (events.js:290:19)
    at emitNone (events.js:86:13)
    at ReadableString.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

undefined -8:50.6.0 intentions:highlight (input.hidden-input)
     -8:45.4.0 core:copy (input.hidden-input)
     -8:43.5.0 editor:newline (input.hidden-input)
     -8:43.3.0 intentions:highlight (input.hidden-input)
     -8:43.2.0 core:paste (input.hidden-input)
     -8:40.1.0 core:backspace (input.hidden-input)
     -8:29.9.0 intentions:highlight (input.hidden-input)
     -8:29.6.0 core:save (input.hidden-input)
     -4:58.2.0 core:backspace (input.hidden-input)
     -4:57.3.0 core:move-left (input.hidden-input)
     -4:56.3.0 core:backspace (input.hidden-input)
     -4:56.1.0 core:move-left (input.hidden-input)
  2x -4:55.7.0 core:backspace (input.hidden-input)
     -0:51.4.0 emmet:insert-formatted-line-break-only (input.hidden-input)
     -0:51.4.0 editor:newline (input.hidden-input)
 14x -0:49.9.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-beautify 0.30.6 
busy-signal 1.4.3 
emmet 2.4.3 
intentions 1.1.5 
linter 2.0.0 
linter-ui-default 1.6.10 
linter-xmllint 1.4.3 
xml-formatter 0.11.0 

Uncaught Error: Unencoded < Line: 4 Column: 7 Char: <

  1. Open an XML file
  2. Write slowly enough for the package to make the error. I guess 😆

Atom: 1.24.1 x64
Electron: 1.6.16
OS: Windows 10 Familial (Version 10.0.16299 Number 16299)
Thrown From: linter-xmllint package 1.4.3

Stack Trace

Uncaught Error: Unencoded <
Line: 4
Column: 7
Char: <

At events.js:160

Error: Unencoded <
Line: 4
Column: 7
Char: <
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at strictFail (/packages/linter-xmllint/node_modules/sax/lib/sax.js:677:7)
    at SAXParser.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:1080:13)
    at SAXStream.write (/packages/linter-xmllint/node_modules/sax/lib/sax.js:239:18)
    at ReadableString.ondata (_stream_readable.js:555:20)
    at emitOne (events.js:96:13)
    at ReadableString.emit (events.js:188:7)
    at ReadableString.Readable.read (_stream_readable.js:381:10)
    at flow (_stream_readable.js:761:34)
    at resume_ (_stream_readable.js:743:3)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -4:33.4.0 core:save (input.hidden-input)
     -4:24.8.0 intentions:highlight (input.hidden-input)
     -4:24.7.0 core:save (input.hidden-input)
     -4:23.2.0 intentions:highlight (input.hidden-input)
     -4:23.1.0 core:save (input.hidden-input)
     -3:56.3.0 intentions:highlight (input.hidden-input)
  3x -3:56.2.0 core:copy (input.hidden-input)
  2x -3:24.9.0 core:backspace (input.hidden-input)
     -2:09.8.0 intentions:highlight (input.hidden-input)
     -2:09.7.0 core:save (input.hidden-input)
     -2:09.0 intentions:highlight (input.hidden-input)
     -2:09.0 core:save (input.hidden-input)
  4x -1:38.3.0 core:backspace (input.hidden-input)
     -1:36.4.0 editor:newline (input.hidden-input)
     -1:29.9.0 intentions:highlight (input.hidden-input)
     -1:29.6.0 core:save (input.hidden-input)

Non-Core Packages

atom-beautify 0.32.2 
atom-clock 0.1.16 
atom-ide-ui 0.9.3 
atom-python-run 0.9.6 
autocomplete-python 1.10.5 
autocomplete-xml 0.9.4 
autumn-highlighter-syntax 1.13.0 
busy-signal 1.4.3 
highlight-selected 0.13.1 
Hydrogen 2.3.0 
ide-csharp 0.6.2 
intentions 1.1.5 
kite 0.72.0 
linter 2.2.0 
linter-ui-default 1.7.1 
linter-xmllint 1.4.3 
package-switch 0.5.0 
python-tools 0.6.9 
sync-settings 0.8.5 
webbox-color 0.5.9 
xml-formatter 0.11.0 

Uncaught Error: Unexpected endLine: 0Column: 5Char:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.22.0 x64
Electron: 1.6.15
OS: Unknown Windows version
Thrown From: linter-xmllint package 1.4.3

Stack Trace

Uncaught Error: Unexpected end
Line: 0
Column: 5
Char:

At events.js:160

Error: Unexpected end
Line: 0
Column: 5
Char: 
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:662:7)
    at SAXParser.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
    at ReadableString.onend (_stream_readable.js:511:10)
    at Object.onceWrapper (events.js:290:19)
    at emitNone (events.js:86:13)
    at ReadableString.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -2:25.7.0 application:add-project-folder (input.hidden-input)
     -2:12.9.0 core:confirm (input.hidden-input)
     -0:43.6.0 tree-view:add-file (div.header.list-item.project-root-header)
     -0:35 core:confirm (input.hidden-input)
     -0:08.2.0 editor:newline (input.hidden-input)
     -0:08.0 intentions:highlight (input.hidden-input)
     -0:07.9.0 core:paste (input.hidden-input)
  3x -0:03.9.0 core:backspace (input.hidden-input)

Non-Core Packages

atom-ide-ui 0.5.3 
busy-signal 1.4.3 
data-atom 0.26.2 
hyperclick 0.0.0 
intentions 1.1.5 
linter 2.2.0 
linter-ui-default 1.6.10 
linter-xmllint 1.4.3 
php-integrator-autocomplete-plus 1.6.1 
php-integrator-base 3.1.0 
php-integrator-navigation 1.2.1 
php-twig 4.0.0 
platformio-ide-terminal 2.7.0 
project-manager 3.3.5 

No GUI feedback

It looks like XMLLint is being executed, however, there is no feedback in the GUI.

Uncaught Error: Unexpected endLine: 45Column: 0Char:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.28.0 x64
Electron: 2.0.3
OS: Unknown Windows version
Thrown From: linter-xmllint package 1.4.4

Stack Trace

Uncaught Error: Unexpected end
Line: 45
Column: 0
Char:

At events.js:183

Error: Unexpected end
Line: 45
Column: 0
Char: 
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:651:10)
    at end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:662:7)
    at SAXParser.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
    at ReadableString.onend (_stream_readable.js:595:10)
    at Object.onceWrapper (events.js:313:30)
    at emitNone (events.js:106:13)
    at ReadableString.emit (events.js:208:7)
    at endReadableNT (_stream_readable.js:1056:12)
    at _combinedTickCallback (internal/process/next_tick.js:138:11)
    at process._tickCallback (internal/process/next_tick.js:180:9)

Commands

Non-Core Packages

git-plus 7.10.0 
linter 2.0.0 
linter-ui-default 1.7.1 
linter-xmllint 1.4.4 
platformio-ide-terminal 2.8.0 

Allow configurable command line options for xmllint

I'm running into a circumstance where the vendor provided schema does not validate by xmllint for a couple various reasons. What I really want linter-xmllint to do is provide basic syntax sanity checks, I'm not worried about the schema. I did not see an option anywhere where I could pass a command line flag like --nonet to disable those schema checks. Could this be added in the future?

Package.activateConfig is deprecated.

Use a config schema instead. See the configuration section
of https://atom.io/docs/latest/hacking-atom-package-word-count and
https://atom.io/docs/api/latest/Config for more details

Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:247:11)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:218:14)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:203:30)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)

Package.activateConfig is deprecated.

Use a config schema instead. See the configuration section
of https://atom.io/docs/latest/hacking-atom-package-word-count and
https://atom.io/docs/api/latest/Config for more details

Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:247:11)
Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:218:14)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:203:30)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:147:15)

not linting on save

I put in the executable path and then made an egregious error on my XML and saved it but I could see no linting taking place. Is this plugin actively working at the moment? Is there anything I might be forgetting to do?

OS: OSX
Atom: 1.0.19

Error: spawn xmllint ENOENT

Background

Installed through Atom's Preferences Pane.

Atom version is 1.0.19, linter-xmllint version is 1.3.4.

Operating System is Debian 8, Jessie.

Error

Error: spawn xmllint ENOENT
  at exports._errnoException (util.js:814:11)
  at Process.ChildProcess._handle.onexit (internal/child_process.js:178:32)
  at onErrorNT (internal/child_process.js:344:16)
  at doNTCallback2 (node.js:438:9)
  at process._tickCallback (node.js:352:17)

Screenshot

20160601_12-38-01

LinterXmllint.Linter is deprecated.

AtomLinter v0.X.Y API has been deprecated. Please refer to the Linter docs to update and the latest API: https://github.com/atom-community/linter/wiki/Migrating-to-the-new-API

LinterXmllint.Linter (C:\Users\James\.atom\packages\linter\lib\linter.coffee:60:4)
new LinterXmllint (C:\Users\James\.atom\packages\linter-xmllint\lib\linter-xmllint.coffee:30:4)
Object.lint (C:\Users\James\.atom\packages\linter\lib\legacy.coffee:61:21)
<unknown> (C:\Users\James\.atom\packages\linter\lib\editor-linter.coffee:69:25)
currentLinter (C:\Users\James\.atom\packages\linter\lib\editor-linter.coffee:68:19)
<unknown> (C:\Users\James\.atom\packages\linter\lib\editor-linter.coffee:82:22)

Incorrect severity level

When running xmllint myXML.xml, the result is:

myXML.xml:4: namespace warning : xmlns: URI my.short.namespace is not absolute

This warning can be suppressed when running xmllint --nowarning myXML.xml.

However, this warning is displayed as severity: Error inside the linter panel, and marked in the XML file as such. AFAIK we do have severity info/warning/error from the linter package API, so we should mark it according to the output from xmllint.

I'm not sure if all xmllint output follows the same format (just started using it). If it is, this can be easily fixed, I think?

Uncaught Error: Unexpected endLine: 0Column: 2Char:

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.18.0-beta0 x64
Electron: 1.3.15
OS: Ubuntu 16.04.2
Thrown From: linter-xmllint package 1.4.2

Stack Trace

Uncaught Error: Unexpected end
Line: 0
Column: 2
Char:

At events.js:160

Error: Unexpected end
Line: 0
Column: 2
Char: 
    at error (/packages/linter-xmllint/node_modules/sax/lib/sax.js:667:10)
    at end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:678:7)
    at Object.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:154:24)
    at SAXStream.end (/packages/linter-xmllint/node_modules/sax/lib/sax.js:248:18)
    at ReadableString.onend (_stream_readable.js:511:10)
    at ReadableString.g (events.js:286:16)
    at emitNone (events.js:86:13)
    at ReadableString.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)
    at process._tickCallback (internal/process/next_tick.js:98:9)

Commands

     -1:46.3.0 application:new-file (div.tool-panel.tree-view)
     -1:40.4.0 core:backspace (input.hidden-input)
     -1:39.1.0 intentions:highlight (input.hidden-input)
     -1:38.9.0 core:save (input.hidden-input)
     -1:32.3.0 tree-view:add-file (span.name.icon.icon-file-directory)
     -1:26.1.0 core:confirm (input.hidden-input)
     -1:21.3.0 intentions:highlight (input.hidden-input)
     -1:21.1.0 autocomplete-plus:activate (input.hidden-input)
  2x -1:10.1.0 core:confirm (input.hidden-input)
  2x -0:08.2.0 core:backspace (input.hidden-input)
     -0:06.8.0 intentions:highlight (input.hidden-input)
     -0:06.6.0 autocomplete-plus:activate (input.hidden-input)

Non-Core Packages

autocomplete-python 1.8.63 
busy-signal 1.4.1 
intentions 1.1.2 
linter 2.1.4 
linter-markdown 4.0.1 
linter-pycodestyle 2.0.2 
linter-sass-lint 1.7.4 
linter-tidy 2.3.1 
linter-ui-default 1.6.0 
linter-xmllint 1.4.2 
markdown-preview-plus 2.4.9 
tree-view-git-status 1.4.0 

Error running xmllint Error: Cannot find module 'tmp'

[Linter] Error running xmllint Error: Cannot find module 'tmp'
    at Module._resolveFilename (module.js:470:15)
    at Module._resolveFilename (/usr/share/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (/usr/share/atom/resources/app/src/module-cache.js:354:58)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:40:43)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at Object.<anonymous> (/home/dimitri/.atom/packages/linter-xmllint/node_modules/atom-linter/lib/helpers.js:23:12)
    at Object.<anonymous> (/home/dimitri/.atom/packages/linter-xmllint/node_modules/atom-linter/lib/helpers.js:139:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at Object.<anonymous> (/home/dimitri/.atom/packages/linter-xmllint/node_modules/atom-linter/lib/index.js:139:16)
    at Object.<anonymous> (/home/dimitri/.atom/packages/linter-xmllint/node_modules/atom-linter/lib/index.js:329:3)
    at Module.get_Module._compile (/usr/share/atom/resources/app/src/native-compile-cache.js:106:36)
    at Object.value [as .js] (/usr/share/atom/resources/app/src/compile-cache.js:239:29)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.require (file:///usr/share/atom/resources/app/static/index.js:47:45)
    at require (/usr/share/atom/resources/app/src/native-compile-cache.js:66:33)
    at Object.checkWellFormed (/home/dimitri/.atom/packages/linter-xmllint/lib/init.coffee:93:16)
    at Object.lintOpenFile (/home/dimitri/.atom/packages/linter-xmllint/lib/init.coffee:83:28)
    at Object.provider.lint (/home/dimitri/.atom/packages/linter-xmllint/lib/init.coffee:80:17)
    at promises.push.Promise.then._this2.emitter.emit.number (/home/dimitri/.atom/packages/linter/lib/linter-registry.js:101:24)
    at _loop (/home/dimitri/.atom/packages/linter/lib/linter-registry.js:99:21)
    at LinterRegistry.<anonymous> (/home/dimitri/.atom/packages/linter/lib/linter-registry.js:87:40)
    at Generator.next (<anonymous>)
    at LinterRegistry.<anonymous> (/home/dimitri/.atom/packages/linter/lib/linter-registry.js:143:4)
    at Generator.next (<anonymous>)
    at step (/home/dimitri/.atom/packages/linter/lib/linter-registry.js:5:273)
    at /home/dimitri/.atom/packages/linter/lib/linter-registry.js:5:443
    at LinterRegistry.<anonymous> (/home/dimitri/.atom/packages/linter/lib/linter-registry.js:5:99)
    at /home/dimitri/.atom/packages/linter/lib/main.js:125:30
    at Function.module.exports.Emitter.simpleDispatch (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (/usr/share/atom/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at EditorLinter.lint (/home/dimitri/.atom/packages/linter/lib/editor-linter.js:40:18)
    at EditorRegistry.createFromTextEditor (/home/dimitri/.atom/packages/linter/lib/editor-registry.js:43:20)
    at /home/dimitri/.atom/packages/linter/lib/editor-registry.js:25:12
    at Workspace.observeTextEditors (/usr/share/atom/resources/app/src/workspace.js:717:15)
    at EditorRegistry.activate (/home/dimitri/.atom/packages/linter/lib/editor-registry.js:24:43)
    at Linter.registryEditorsInit (/home/dimitri/.atom/packages/linter/lib/main.js:132:26)
    at Linter.registryEditorsIdleInit (/home/dimitri/.atom/packages/linter/lib/main.js:103:14)
# uname -psr
Linux 4.10.0-33-generic x86_64
# atom --version
Atom    : 1.19.5
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.