Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6449797

[ERROR] s4s-att-invalid-value: Invalid attribute value for 'type' in element "element" with Xerces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: 1.3.0
    • Component/s: xml
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      1.3
    • CPU:
      sparc
    • OS:
      solaris_9
    • Verification:
      Verified

      Backports

        Description

        When I tried to compile the attached schema with XJC I got this error. Interestingly, when I tried with Mustang XJC, it compiled fine.

         java -classpath ~/jax-ws-sources/jaxws-ri/build/lib/jaxb-xjc.jar com.sun.tools.xjc.Driver JVTTroubleTicketServantService_schema1.xsd
        parsing a schema...
        [ERROR] s4s-att-invalid-value: Invalid attribute value for 'type' in element 'element'. Recorded reason: UndeclaredPrefix: Cannot resolve 'ns3:personReachImpl' as a QName: the prefix 'ns3' is not declared.
          line 8 of file:/tmp/JVTTroubleTicketServantService_schema1.xsd
        We got similar schema from Microsoft failing at the same error - not being able to lookup namespace prefix declaration for inline elements. Reassigning to (hopefully) right manager.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                joehw Joe Wang
                Reporter:
                ramap Rama Pulavarthi (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: