The Artima Developer Community


Errata for Programming in Scala, 2nd Edition
Chapter 28: Working with XML
Return to errata index.

Page 622 (PDF page 656):
"Further, the contents of any two matching tags must itself be valid
XML.": "contents" -> "content"
Page 630 (PDF page 664):
The book states that when
  scala.xml.XML.save("therm1.xml", node)

is called, that the output file, "therm1.xml", will have header:
  <?xml version='1.0' encoding='UTF-8'?>

But when I do that, in the same way the book describes, there is no xml
header, just pure XML inside the therm1.xml.

Page number: Book type: Paperback book PDF eBook
Book version: (Or build date. Found on back of title page.)
Your feedback:
Your name: (optional)
Your email address: (optional) (will not be published)

Copyright © 2024 Artima, Inc. All rights reserved.