View Issue Details

IDProjectCategoryView StatusLast Update
0038925LazarusDocumentationpublic2021-05-24 00:09
ReporterReiner Sombrowsky Assigned ToMaxim Ganetsky  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
OSWindows 
Product Version2.1 (SVN) 
Fixed in Version2.2 
Summary0038925: XML-error in file docs\xml\lcl\buttons.xml: line 2870
DescriptionIf I want to build chm with with tool "build_lcl_docs.exe" a
loop error was occured (look at attachment):
(line 2870 Pos 23): Name starts with invalid character

The line 2870 of buttons.xml is:
  Handled := (Result <> Nil);

This is a invalid structure in xml-file, because "<" is in xml-file the begin of a tag.

I had replaces "<>" with "<>" in the line 2870:
  Handled := (Result <> Nil);

and now the tool build_lcl_docs.exe works correctly.
TagsNo tags attached.
Fixed in Revision65125
LazTarget-
WidgetsetWin32/Win64
Attached Files

Activities

Reiner Sombrowsky

2021-05-23 15:11

reporter  

buildchm.png (24,666 bytes)   
buildchm.png (24,666 bytes)   

Don Siders

2021-05-23 15:31

reporter   ~0131021

My bad. Patch attached.
buttons.xml.diff (384 bytes)   
Index: docs/xml/lcl/buttons.xml
===================================================================
--- docs/xml/lcl/buttons.xml	(revision 65124)
+++ docs/xml/lcl/buttons.xml	(working copy)
@@ -2867,7 +2867,7 @@
   else
     Result := Nil;
 
-  Handled := (Result <> Nil);
+  Handled := (Result &lt;&gt; Nil);
 end;
 
 // assign the routine to the GetDefaultBitBtnGlyph variable
buttons.xml.diff (384 bytes)   

Maxim Ganetsky

2021-05-24 00:09

developer   ~0131024

Applied, thanks.

Issue History

Date Modified Username Field Change
2021-05-23 15:11 Reiner Sombrowsky New Issue
2021-05-23 15:11 Reiner Sombrowsky File Added: buildchm.png
2021-05-23 15:31 Don Siders Note Added: 0131021
2021-05-23 15:31 Don Siders File Added: buttons.xml.diff
2021-05-24 00:09 Maxim Ganetsky Assigned To => Maxim Ganetsky
2021-05-24 00:09 Maxim Ganetsky Status new => resolved
2021-05-24 00:09 Maxim Ganetsky Resolution open => fixed
2021-05-24 00:09 Maxim Ganetsky Fixed in Version => 2.2
2021-05-24 00:09 Maxim Ganetsky Fixed in Revision => 65125
2021-05-24 00:09 Maxim Ganetsky LazTarget => -
2021-05-24 00:09 Maxim Ganetsky Widgetset Win32/Win64 => Win32/Win64
2021-05-24 00:09 Maxim Ganetsky Note Added: 0131024