Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Illegal XML character in Hello World

#138

I have the latest cappuccino code pulled from git and I built everything fresh with 'ant bootstrap'. Then I created an application with 'steam create capu'. When I load it in Firefox 3 or Safari, it doesn't work. In Firebug, it reports:


Illegal XML character                             Objective-J.js (line 1862)
<Foundation/CPObject.j>\n

In Safari, it just says "Parse error".

line 1862 in Objective-J.js is:


1856 function fragment_evaluate_code(aFragment)
1857{
1858 var compiled;
1859 OBJJ_CURRENT_BUNDLE = aFragment.bundle;
1860 try
1861 {
1862 compiled = new Function(aFragment.info);
1863 }
1864 catch(anException)
1865 {
1866 objj_exception_report(anException, aFragment.file);
1867 }
1868 try
1869 {
1870 compiled();
1871 }
1872 catch(anException)
1873 {
1874 objj_exception_report(anException, aFragment.file);
1875 }
1876 return NO;
1877}

I believe it is balking at this line in AppController.j:


import <Foundation/CPObject.j>

I've tried it with

@import <Foundation/CPObject.j>

as well to no avail...

I've used the CappuccinoStarter app before and it works fine...I also tried changing this config value in firefox:

http://github.com/280north/cappu...

But it has the same problem...

Reported by Patrick Crosby · November 12th, 2008 @ 06:26 AM

State: invalid
Milestone: none
Assigned to: nobody

Activity

  1. Patrick Crosby
    Patrick Crosby

    Nevermind...apparently some old files in $STEAM_BUILD were the problem...

    November 12th, 2008 @ 09:07 AM

  2. Francisco Tolmasky
    Francisco Tolmasky
    • State changed from new to invalid

    November 12th, 2008 @ 04:23 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.