• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSData attribute appears empty with WOXMLCoder with mapping serializer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSData attribute appears empty with WOXMLCoder with mapping serializer


  • Subject: NSData attribute appears empty with WOXMLCoder with mapping serializer
  • From: Paolo Sommaruga <email@hidden>
  • Date: Mon, 6 Sep 2004 22:30:26 +0200

Hi,

I use WOXMLCoder.coderWithMapping() to serialize an EOGenericRecord
subclass instance. All works fine except for a simple NSData attribute
which content appears always empty in the output file.

In the mapping file I have

	<property name="imagefile" xmlTag="immagine" reportEmptyValues="NO"/>

and in the output

	<immagine></immagine>

The strange is that if I use WOXMLCoder.coder() (without a mapping
file), the imagefile attribute appears correctly.

The problem is that I need to use the mapping version, because I have
to serialize only some attributes

Can someone give me some hints ?

Thanks and Regards


	Paolo Sommaruga
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: using Stored Procedures
  • Next by Date: WO Developer file bitrot ...
  • Previous by thread: using Stored Procedures
  • Next by thread: resetting results of a EO fetch utility
  • Index(es):
    • Date
    • Thread