Hmmm... I think "RTFM" is appropriate here :)

I did not know about that module.  It looks like it would do everything I
want with one exception - detect when a module that should produce output
doesn't.  The specific case being when ConvertXMLtoRDF does not
successfully do the conversion and does not throw an exception.  Other
similar cases would be when a CONSTRUCT query fails to construct anything
when it must for proper script execution.  Of course the desired behavior
is context dependent so throwing an exception is not always appropriate for
an ApplyConstruct when it does not succeed in making new triples - but
being able to know that it didn't would be very useful, especially when
debugging a large script.

Thanks for pointing out that module!

Tim


On Wed, Mar 21, 2012 at 10:10 PM, Holger Knublauch
<[email protected]>wrote:

> On 3/22/2012 0:17, Tim Smith wrote:
>
>> I want to propose the creation of an "Exception handling" mechanism for
>> SPARQLMotion.  In a recent project, I was processing hundreds of XML files
>> using the ConvertXMLtoRDF module.  Occasionally, this module would fail to
>> process one or more of the input files.  In this case, the file was invalid
>> w.r.t. to the schema which caused the module to create no output.  However,
>> I did not know this until the script finished and the results were not what
>> I expected.  In other cases, a corrupt file could cause the module to throw
>> an exception and terminate the script without reliably saving any output.
>>  It would be nice to be able to catch such exceptions, especially during
>> loops so that appropriate logging could occur, other methods employed,
>> etc... as well as continue processing the remaining files.
>>
>
> Tim, have you tried out sml:CatchExceptions? What is missing for your use
> case?
>
> Thanks,
> Holger
>
> --
> You received this message because you are subscribed to the Google
> Group "TopBraid Suite Users", the topics of which include Enterprise
> Vocabulary Network (EVN), TopBraid Composer,
> TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
> To post to this group, send email to
> topbraid-users@googlegroups.**com <[email protected]>
> To unsubscribe from this group, send email to
> topbraid-users+unsubscribe@**googlegroups.com<topbraid-users%[email protected]>
> For more options, visit this group at
> http://groups.google.com/**group/topbraid-users?hl=en<http://groups.google.com/group/topbraid-users?hl=en>
>

-- 
You received this message because you are subscribed to the Google
Group "TopBraid Suite Users", the topics of which include Enterprise Vocabulary 
Network (EVN), TopBraid Composer,
TopBraid Live, TopBraid Ensemble, SPARQLMotion and SPIN.
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-users?hl=en

Reply via email to