[plt-scheme] Re: Webit issue

From: Paulo J. Matos (pocmatos at gmail.com)
Date: Sat Apr 22 21:17:25 EDT 2006

On 23/04/06, Paulo J. Matos <pocmatos at gmail.com> wrote:
> Hi all,
>
> While using webit! I'm getting the following:
> (require (planet "xml.ss" ("jim" "webit.plt" 1 4)))
>
> (define-element foo)
> (define-attribute bar:)
>
> (define test
>   (foo bar: "test"))
>
> reference to undefined identifier: bar:
>

Doh! (ala Homer Simpson)...
It should be (define-attribute bar)

;)
Cheers,

Paulo Matos


> I think define-attribute should just do it! However, scheme keeps complaining...
>
> Any ideas?
>
> Thanks,
> --
> Paulo Jorge Matos - pocm at sat inesc-id pt
> Web: http://sat.inesc-id.pt/~pocm
> Computer and Software Engineering
> INESC-ID - SAT Group
>


--
Paulo Jorge Matos - pocm at sat inesc-id pt
Web: http://sat.inesc-id.pt/~pocm
Computer and Software Engineering
INESC-ID - SAT Group


Posted on the users mailing list.