Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.1.7
    • Fix Version/s: not determined
    • Component/s: xjc
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      539

      Description

      Try the example schemas in http://www.w3.org/TR/xml-media-types/

      Some of them produce a warning. For e.g Example 2 produces the following warning
      with xjc

      [WARNING] An xmime:expectedContentTypes attribute is present on an incorrect element

        Activity

        Hide
        ramapulavarthi added a comment -

        Users have posted about this confusing warning and here is the Metro forum
        thread with details,
        http://forums.java.net/jive/thread.jspa?messageID=306260&#306260

        Show
        ramapulavarthi added a comment - Users have posted about this confusing warning and here is the Metro forum thread with details, http://forums.java.net/jive/thread.jspa?messageID=306260&#306260
        Hide
        Pavel Bucek added a comment -

        This isn't JAXB issue. It's related to JDK XML parser which is used by JAXB.
        I've tried Example 2 from http://www.w3.org/TR/xml-media-types/ with JDK 1.6.0
        and warning was not emitted.

        Marking as invalid.

        Show
        Pavel Bucek added a comment - This isn't JAXB issue. It's related to JDK XML parser which is used by JAXB. I've tried Example 2 from http://www.w3.org/TR/xml-media-types/ with JDK 1.6.0 and warning was not emitted. Marking as invalid.

          People

          • Assignee:
            jaxb-issues
            Reporter:
            jitu
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: