Results 1 to 2 of 2

Thread: Parsing Error on import, can't find the problem

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2014

    Parsing Error on import, can't find the problem

    Hello everyone, for the last couple of weeks I've been trying to develop a custom Collada exporter for Revit 2014 based on the example code from an article by "The Bulding Coder" (If I add a link it stops me from posting this >_>). The end goal for this plugin is to be able to use it with Unity3D.

    In order to check my code, I'm comparing it to the export generated using the Revit to Lumion bridge. Ignoring the naming system, which to my understanding doesn't affect the file as long as it's constant throughout the export, the code is identical. I've looked though it a half dozen times and cannot find anything wrong with it, so I'm hoping to get a second pair of eyes on it. They're both short files, only 117 lines, so the comparison doesn't take too long, I just cannot find anything wrong with my file...

    The output from my custom exporter is here: Custom Exporter.dae
    The output from the Revit to Lumion bridge is here: Revit to Lumion Bridge.dae

    On a related note, are there any debug tools that can search my files for errors? I've done a couple of searches for one but haven't had any luck. When I try to bring it into max it just tells me that there was a parsing error, so that's no help >_>, and Unity doesn't even tell me there's a problem, it just refuses to allow me to add the import to the scene.

    Thank you in advance for any help you can give me.


    I used an online validator to figure out the problem. It turns out that my family names had quotation marks in them to denote inches, which was causing the parser to explode >_> After I removed those it worked just fine.

  2. #2
    Junior Member Newbie
    Join Date
    Apr 2008

    there is an invalid character in the name attribute of your geometry with the id geom-1.

    Within any attribute in XML (not only in COLLADA) the " is not allowed and should be encoded as ". There are further characters that have be encoded.


Similar Threads

  1. Error: Cannot find GL/glut.h
    By hodges.reed in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 12-16-2013, 01:46 PM
  2. A problem in import 3ds file
    By lichang12120 in forum OpenGL: Windows
    Replies: 1
    Last Post: 05-20-2013, 01:25 PM
  3. Opengl import 3d model problem
    By Kieran in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 04-14-2012, 01:24 AM
  4. Could u find the error in this code
    By Anish in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 07-27-2005, 04:30 AM
  5. 3ds light import problem
    By dan-leech in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 09-22-2001, 08:36 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Proudly hosted by Digital Ocean