SchemaGen does not use the package name in java file to create targetNamespace

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: P3
    • None
    • Affects Version/s: 6u5
    • Component/s: tools
    • apt
    • generic
    • generic

      OPERATING SYSTEM(S):
      ALL

      FULL JDK VERSION(S):
      java version "1.6.0_05"
      Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
      Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode)

      DESCRIPTION from Submitter:
      1. Unzip the schema1.zip (see attachment)
      2. Compile the java files: javac -d class -cp class PurchaseOrder.java
      3. schemagen -d class -cp class jaxws.sample.LaptopPurchaseOrder

      Result seen:
      The created xsd file doesn't have a "targetnamespace". While the expected result is that the targetnamespace should have the value specified by the XmlSchema.namespace for the package. The schema1.xsd is an example of the the result.

            Assignee:
            Unassigned
            Reporter:
            David Korbel (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: