Details

    • Type: Bug Bug
    • Status: Open Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.9.5.3
    • Fix Version/s: None
    • Component/s: XML
    • Labels:
      None
    • Environment:
      Operating System: Solaris
      Platform: Sun
    • Bugzilla Id:
      1627
    • Number of attachments :
      0

      Description

      In using Castor to marshal and unmarshal in a Java server environment.

      If an element in the xsd has a type which is "anyType" such as ...

      <element ref="saml:SubjectConfirmationData" minOccurs="0"/>
      <element name="SubjectConfirmationData" type="anyType"/>

      This creates a descriptor which looks like this...

      org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = new
      org.exolab.castor.xml.util.XMLFieldDescriptorImpl(java.lang.Object.class,
      "_subjectConfirmationData", "SubjectConfirmationData",
      org.exolab.castor.xml.NodeType.Element);

      When the value of this element is set to a String and
      marshalled, the xml looks like this...

      <saml:SubjectConfirmationData
      xsi:type="java:java.lang.String">AAMLx0...4DeNzUGH</saml:SubjectConfirmationData>

      The xsi:type should be a base type like xsd:string instead of a
      java:java.lang.String for interoperability with .NET and other programming
      languages.

        Activity

        Bruce Snyder made changes -
        Field Original Value New Value
        issue.field.bugzillaimportkey 1627 23076
        Ralf Joachim made changes -
        Assignee Keith Visco [ kvisco ]
        Edward Kuns made changes -
        Priority Blocker [ 1 ] Major [ 3 ]
        Bugzilla Id 1627

          People

          • Assignee:
            Unassigned
            Reporter:
            dbeery
          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated: