[prev in list] [next in list] [prev in thread] [next in thread] 

List:       racket-users
Subject:    [plt-scheme] Re: Webit issue
From:       pocmatos () gmail ! com (Paulo J !  Matos)
Date:       2006-04-23 1:17:25
Message-ID: 11b141710604221817y5ddc265dve2f612b4a7314a5d () mail ! gmail ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic