Grasshopper

algorithmic modeling for Rhino

Hi,

 

i'm getting this error when trying to open a ghx file:see attached file

it has happend to me before but havent been able to solve it... 

Unexpected XML declaration. The XML declaration must be the first node in the document, and no white space characters are allowed to appear before it. Line 1, position 5.

Any help would be good,

many thanks

A

Views: 1037

Attachments:

Replies to This Discussion

Hi Antonio,

 

something has munged this file and inserted either spaces or hyphens in front of every line (open the file in a text editor and you'll see). I'm guessing this file was copied from an Xml viewer window which showed the Xml structure as collapsible sections (that's probably where the hyphens come from).

 

Did you save this file, or did you download it? Or...?

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

ps. I fixed this by recording a macro in Notepad++ (a freeware text editor) and running it until the end of the file. The macro was:

 

<delete><delete><arrow down>

 

--

David Rutten

david@mcneel.com

Poprad, Slovakia

Hi David,

 

It works like a charm!

 

Thanks a lot!!

 

PS:I saved the file

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service