Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Adobe Flex SDK Previous
-
None
-
None
-
Affected OS(s): All OS Platforms
Language Found: English
Description
Steps to reproduce:
1. Add the following to an action script class
/**
*
- @param id: the id of the control
- @return: the control object
*
*/
public function foo(id:String):Object { return null;}
2. Run asdoc on the class
Actual Results:
generates warnings like:
Error on line 4 column 65 of _Global_.xml:
SXXP0003: Error reported by XML parser: Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
Recoverable error on line 25 of merge_dita_xml.xslt:
FODC0002: org.xml.sax.SAXParseException: Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
Error on line 4 column 65 of _Global_.xml:
SXXP0003: Error reported by XML parser: Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
Recoverable error on line 27 of Classes.xslt:
FODC0002: org.xml.sax.SAXParseException: Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
Error on line 4 column 65 of _Global_.xml:
SXXP0003: Error reported by XML parser: Element or attribute do not match QName
production: QName::=(NCName':')?NCName.
Expected Results:
No cryptic warnings. Should generate an easy to understand (actionable) warning.
Workaround (if any):
remove : after return.