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

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.0
    • 2.0
    • xml
    • 1.3
    • sparc
    • solaris_9
    • Verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: