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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P2
    • 1.3.0
    • Affects Version/s: 2.0
    • Component/s: 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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: