I have a question about multivalue attributes. How can I disable that?

I have a simple piece of xml:

    <examples>
      <example description="example 1" />
      <example description="example 2" />

    </examples>

I need to map the description with a handler (it needs an object from
the database for unmarshalling) but in my handler I receive 4 events,
"example", "1", "example" and "2".

Are spaces not allowed in attributes? I have taken a look at w3schools
and it said the following: "attributes cannot contain multiple values"
about xml attributes, so I guess this is Castor specific. Is it
configurable?

With regards,

Nick Stolwijk
~Java Developer~

IPROFS BV.
Claus Sluterweg 125
2012 WS Haarlem
http://www.iprofs.nl

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to