Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Sapphire » XML Self closing tags
XML Self closing tags [message #761366] Tue, 06 December 2011 11:10 Go to next message
Etienne Beaumont is currently offline Etienne BeaumontFriend
Messages: 9
Registered: November 2011
Junior Member
Hello everybody,

I'm trying to develop an editor with sapphire and it has worked fine so far.

However i would like to write self-closing xml tags to match my current xml data syntax.

example :
<mytag attr="abc" />


instead of :

<mytag attr="abc"></mytag>


Is there an annotation syntax for this purpose ?
Should I modify the resource class?
or is this simply a configuration matter ?

Thank you all !

Etienne
Re: XML Self closing tags [message #761505 is a reply to message #761366] Tue, 06 December 2011 14:58 Go to previous messageGo to next message
Konstantin Komissarchik is currently offline Konstantin KomissarchikFriend
Messages: 1077
Registered: July 2009
Senior Member
That looks like a bug. Sapphire should be using the first form when there is no child content. Please open a bug report in bugzilla.

- Konstantin
Re: XML Self closing tags [message #761581 is a reply to message #761505] Tue, 06 December 2011 17:26 Go to previous message
Etienne Beaumont is currently offline Etienne BeaumontFriend
Messages: 9
Registered: November 2011
Junior Member
Done with Bug 365774 .

Thanks for your quick answer.
Previous Topic:Persisting the generated implemented class in Sapphire
Next Topic:Exporting a Sapphire plugin
Goto Forum:
  


Current Time: Fri Mar 29 07:16:39 GMT 2024

Powered by FUDForum. Page generated in 0.02061 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top