|
|
Re: XMLResource.OPTION_USE_DEPRECATED_METHODS option in EMF Book [message #431818 is a reply to message #431745] |
Mon, 27 July 2009 18:53 |
David Steinberg Messages: 489 Registered: July 2009 |
Senior Member |
|
|
Hi Mariot,
Yup, that is an error in the example. It's one of three known errors so
far:
Page 467 (Section 15.3.1). The second paragraph following the output
fragment (beginning with "Notice that we waited") should be deleted
entirely.
Page 495 (Section 15.5). In the example code, the value of
OPTION_USE_DEPRECATED_METHODS should be Boolean.FALSE. Loading
performance is improved by disabling deprecated methods (they're enabled
by default).
Page 561 (Section 18.3). The value in the second row, last column of
Table 18.2 should be "2007-01-01".
Unfortunately, there have been delays with the publisher getting the
Errata posted on the book's Web site. In the mean time, I decided to put
it up on the Eclipse wiki:
http://wiki.eclipse.org/EMF_Book_Errata
Please feel free to add to the list there if you see any other problems.
Thanks,
Dave
Ed Merks wrote:
> Mariot,
>
> Yes, that doesn't sound quite right. I've CC'd Dave...
>
>
> Mariot Chauvin wrote:
>> Hi,
>>
>> I think I found a small error in the page 495 of EMF Book second
>> edition. It concerns XMLResource.OPTION_USE_DEPRECATED_METHODS.
>> The documentation says that default is true, and that we could turn
>> this option to false to improve deserialization performance. But in
>> the 495 page there is a resource factory implementation example with
>> recommended options for perfomance, where
>> XMLResource.OPTION_USE_DEPRECATED_METHODS is set to true.
>>
>> So is it a mistake or did I miss something ?
>>
>> BTW the book is great and helpful :)
>>
>> Best Regards,
>>
>> Mariot
|
|
|
Powered by
FUDForum. Page generated in 0.03943 seconds