XhtmlPageWriter.memberAnchor(MemberDoc) needs to be updated to create method signatures that are valid HTML id and name attribute values.
The specification is that ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
The method must be modified to handle arrays (since [ and ] are not valid) and parameterized types (since < and > are not valid). Letters, numbers, and underscores may be used in Java symbols, and periods are used in package names, so they can't be used. Hyphens should be used to separate arguments. This leaves the colon (":") for delimiting arrays and type parameters, but how to use them without signature name collisions is TDB.
Further, Java generics may use "?", so a suitable equivalent for that must be found.
Log in to post a comment.