Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-27269

[flex_next] asdoc xslt files generate warning when a tag is followed by colon (:)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Adobe Flex SDK Previous
    • None
    • ASDoc Tool
    • 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.

      Attachments

        Activity

          People

            adobejira Adobe JIRA
            adobejira Adobe JIRA
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: