Home Bug Reports

slice2docbook

StuartAStuartA Member
When using slice2docbook, the link name size is limited to 44 characters -

Ice-1.3.0/src/slice2docbook/Gen.cpp line 1116
//
// TODO: At present, docbook tools limit link names (NAMELEN) to
// 44 characters.
//
if(id.size() > 44)
{
  id.erase(0, id.size() - 44);
  assert(id.size() == 44);
}


You may like to improve this workaround by ensuring the id doesn't
start with a period. This will stop jade complaining:-
value of attribute "LINKEND" invalid: "." cannot start a name
value of attribute "ID" invalid: "." cannot start a name


Sincerely
Stuart
Sign In or Register to comment.