[doap-interest] Hyphenated resources and properties

Edd Dumbill edd at me.com
Thu Jul 5 10:08:59 EDT 2012


Hi Lewis, unfortunately the property names can't change. You're going to
need to find a way of post-processing the result of the vocab module, or
finding ways to avoid the Java syntax affecting its function.

On Thu, Jul 5, 2012 at 1:07 AM, Lewis John Mcgibbney <
lewis.mcgibbney at gmail.com> wrote:

> Hi,
>
> I'm currently implementing a DOAP vocabulary within the Apache Any23
> project's vocab module [0] but I'm getting headaches when trying to
> describe hyphenated resources and properties such as service-endpoint,
> file-view, etc
>
> As the classes I'm writing are java based, hyphens are not permitted
> in variables... is there anyway around this?
>
> Also the 'implements' property is also a reserved work in Java... the
> same applied here?
>
> Thanks in advance
>
> Lewis
>
> [0]
> http://svn.apache.org/repos/asf/incubator/any23/trunk/core/src/main/java/org/apache/any23/vocab/
>
> --
> Lewis
> _______________________________________________
> doap-interest mailing list
> doap-interest at lists.usefulinc.com
> http://lists.usefulinc.com/mailman/listinfo/doap-interest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.usefulinc.com/pipermail/doap-interest/attachments/20120705/58ed833f/attachment.html>


More information about the doap-interest mailing list