bolasblack / csslint.vim

Vim plugin based on csslint of nodejs
http://plafer.info/
14 stars 2 forks source link

following error with 2.6.1 and 2.6.7 on osx 10.6 - works with python 2.6? #1

Open xiaoneng opened 12 years ago

xiaoneng commented 12 years ago

works if through csslint CLI.

error through vim.

"style-min.css" 1568L, 39991C written
Traceback (most recent call last):
File "", line 5, in
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/minidom.py", line 1928, in parseString return expatbuilder.parseString(string)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 940, in parseString
return builder.parseString(string)
File "/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/xml/dom/expatbuilder.py", line 223, in parseString
parser.Parse(string, True)
xml.parsers.expat.ExpatError: syntax error: line 1, column 0

bolasblack commented 12 years ago

could you give me the css file?

xiaoneng commented 12 years ago

i am using a barebones css file for testing so not a css file issue i think. if use 2.6 any version on osx get same xml.minidom.dom ( parseString ) syntax error from expat parse from any css file.

  1. have this error even when create new empty css file.

    touch new.css; vi new.css

  2. test file is: test.css with only the following.

body { margin: 0; }

yicuan mailto:reply@reply.github.com January 31, 2012 7:17 PM could you give me the css file?


Reply to this email directly or view it on GitHub: https://github.com/bolasblack/csslint.vim/issues/1#issuecomment-3737214