Issue a error message instead of crashing if no "targetNamespace" is provided.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1934 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
inoussa
2011-09-10 22:29:42 +00:00
parent 1c94c886bd
commit 788d3ba426

View File

@ -1020,6 +1020,7 @@ begin
locName := ExtractIdentifier(AModuleName);
if not IsStrEmpty(locName) then begin
FModuleName := locName;
if (Module <> nil) then
Module.Name := FModuleName;
end;
end;