I can see where you are coming from. As usual, you can always raise a
feature request and provide us with some 'thinking' or output thereof ....

Just thinking about this .... maybe a new node type 'comment' could be
added. And now, I have not really thought about this thoroughly.

Werner

Godmar Back wrote:
> On 6/14/07, Werner Guttmann <[EMAIL PROTECTED]> wrote:
>> Not that I know of. But being curious, in what form would those comments
>> be available in your domain model ?
>>
> 
> They don't have to be, though that would probably be a possibility.
> 
> For instance,
> 
>   Someelement s = new Somelement();
>   s.addComment("somecomment");
> 
> would marshal to
> 
>  <!-- somecomment --><someelement />
> 
> On unmarshaling, you could associate a preceding a comment with the
> element.
> 
> This is just an idea, I haven't thought through it. I would find it
> useful when debugging/examing large amount of otherwise similar
> looking XML I'm currently generating for a project.
> 
> - Godmar
> 
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
> 
>    http://xircles.codehaus.org/manage_email
> 


---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to