Uploaded image for project: 'Spring Web Services'
  1. Spring Web Services
  2. SWS-339

XML namespace (http://www.w3.org/XML/1998/namespace) mapped to wrong prefix when building WSDL with inlined schemas

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: Core
    • Labels:
      None

      Description

      When using CommonsXsdSchemaCollection with inline=true, and inlining a schema that use the xml namespace, the WSDL cannot be generated due to the following exception:

      org.xml.sax.SAXParseException: The prefix "xml" cannot be bound to any namespace other than its usual namespace; neither can the namespace for "xml" be bound to any prefix other than "xml".

      InliningXsdSchemaTypesProvider.addTypes should check for the namespace "http://www.w3.org/XML/1998/namespace" and always map it to the prefix "xml"

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        9d 2h 44m 1 Arjen Poutsma 03/May/08 1:59 AM
        Resolved Resolved Reopened Reopened
        5h 41m 1 Arjen Poutsma 03/May/08 7:40 AM
        Reopened Reopened Closed Closed
        27m 23s 1 Arjen Poutsma 03/May/08 8:08 AM

          People

          • Assignee:
            arjen.poutsma Arjen Poutsma
            Reporter:
            jrduncans Stephen Duncan Jr
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: