castor
  1. castor
  2. CASTOR-2264

mixed="1" should be the same as mixed="true"

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.2.1
    • Fix Version/s: 1.2
    • Component/s: XML code generator
    • Labels:
      None
    • Number of attachments :
      4

      Description

      Mixed content is not recognized by castor if it is specified in the xsd by 'mixed="1"'. I have validated the xsd and xml files using Altova XML Spy and both mixed="1" and mixed="true" should allow mixed content in the element. Attached is a sample xsd and 2 samples files

      1. mixed.xsd
        0.7 kB
        roy van der kuil
      2. not-working-mixed.xml
        0.2 kB
        roy van der kuil
      3. patch.c2264.20080118.txt
        5 kB
        Werner Guttmann
      4. working-mixed.xml
        0.2 kB
        roy van der kuil

        Activity

        Werner Guttmann made changes -
        Field Original Value New Value
        Assignee Werner Guttmann [ wguttmn ]
        Werner Guttmann made changes -
        Remaining Estimate 25 minutes [ 1500 ]
        Fix Version/s 1.2 [ 13559 ]
        Original Estimate 25 minutes [ 1500 ]
        Affects Version/s 1.1.2.1 [ 13596 ]
        Component/s XML code generator [ 11761 ]
        Werner Guttmann logged work - 17/Jan/08 2:53 AM
        • Time Spent:
          15 minutes
           
          Code analysis & testing.
        Hide
        Werner Guttmann added a comment -

        Initial (and tested) patch for review. All CTF tests finish fine.

        Show
        Werner Guttmann added a comment - Initial (and tested) patch for review. All CTF tests finish fine.
        Werner Guttmann made changes -
        Attachment patch.c2264.20080118.txt [ 31919 ]
        Werner Guttmann made changes -
        Time Spent 15 minutes [ 900 ]
        Remaining Estimate 25 minutes [ 1500 ] 10 minutes [ 600 ]
        Werner Guttmann made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Werner Guttmann made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Werner Guttmann
            Reporter:
            roy van der kuil
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - 25 minutes
              25m
              Remaining:
              Time Spent - 15 minutes Remaining Estimate - 10 minutes
              10m
              Logged:
              Time Spent - 15 minutes Remaining Estimate - 10 minutes
              15m