castor

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
    17/Jan/08 1:43 AM
    0.7 kB
    roy van der kuil
  2. not-working-mixed.xml
    17/Jan/08 1:43 AM
    0.2 kB
    roy van der kuil
  3. patch.c2264.20080118.txt
    17/Jan/08 2:53 AM
    5 kB
    Werner Guttmann
  4. working-mixed.xml
    17/Jan/08 1:43 AM
    0.2 kB
    roy van der kuil

Activity

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.

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved:

Time Tracking

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