This would be nice, and I have recorded such requests already. Looks  
like a mode that would highlight all untyped URIs would be sufficient  
for this to work. Unfortunately, there will be cases in which this is  
not desirable, i.e. the user intentionally wants to reference unknown  
URIs as part of the query.

My suggestion is to always use auto-complete to enter function names,  
i.e. enter "conc" and then CTRL-Space. This way you will prevent  
invalid names from creeping into your queries.

Holger


On May 19, 2009, at 1:17 PM, Smith, Tim wrote:

>
> This is a good time to suggest an enhancement request...
>
> It would be very helpful if the SPARQL query editor would recognize  
> that smf:concat is an unknown function and at least highlight it.
>
> Depending on how long I am away from SPARQL, I often make the  
> mistake of using the wrong prefix to identify a function and thus  
> have queries that fail with no warning.
>
> I guess you just have to hold our hands as we write SPARQL :)
>
>
> Tim
>
>
>> -----Original Message-----
>> From: [email protected] [mailto:topbraid-
>> [email protected]] On Behalf Of Holger Knublauch
>> Sent: Tuesday, May 19, 2009 4:12 PM
>> To: [email protected]
>> Subject: [tbc-users] Re: Unable to Open XML file using
>> sml:IterateOverSelect
>>
>>
>>>   LET (?sourceFilePath := smf:cast(smf:concat("Data/iddb3/", ?file),
>>> xsd:string)) .
>>
>> There is no function smf:concat - try fn:concat. Also, in this case,
>> the smf:cast is probably not needed, or could be written as
>>
>> xsd:string(fn:concat("Data/iddb3/", ?file))
>>
>> In order to track intermediate variable values, you may want to  
>> insert
>> a function call smf:trace at appropriate places. This will print
>> variable bindings to the console.
>>
>> Holger
>>
>>
>>
>
> >


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TopBraid Composer Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/topbraid-composer-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to