Bug? XML doesn't support special chrs in comments

Starchild

Active Member
Licensed User
Longtime User
I can't find a way of using < (less-than) and > (greater-than) characters in comment text inside the library XML for B4R.

I see that B4J's library XML supports &lt; and &gt;
but this is not supported in the B4R library XML file.

I am tryng to add a demonstration PHP script to the comments.
Can't get the text "<?php ... ?>" to display in the IDE pop-up.
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
Works fine here.
SS-2018-02-05_08.53.12.png


I've added it to the .h file with:
//Scans for wireless networks. Returns the number of networks found.
//&lt; test
Byte Scan();

It looks like this in the XML file (which you normally shouldn't update yourself):
<method>
<name DesignerName="Scan">Scan</name>
<comment>Scans for wireless networks. Returns the number of networks found.
&amp;lt; test</comment>
<returntype>Byte</returntype>
</method>
 
Top