W3C home > Mailing lists > Public > www-dom@w3.org > January to March 2002

Re: Feature name problems in DOMWriter

From: Philippe Le Hegaret <plh@w3.org>
Date: 11 Feb 2002 15:27:49 -0500
To: Elliotte Rusty Harold <elharo@metalab.unc.edu>
Cc: WWW DOM <www-dom@w3.org>
Message-Id: <1013459270.25719.124.camel@jfouffa>
On Tue, 2002-02-05 at 23:36, Elliotte Rusty Harold wrote:
> In the DOMWriter section of the January 14 Load and Save draft the 
> following paragraph is out of sync with what follows:
> 
> While serializing a document the serializer will write out non-specified 
> values (such as attributes whose |specified| is |false| ) if the 
> |output-default-values| feature is set to |true| . If the 
> |output-default-values| flag is set to |false| and the 
> |use-abstract-schema| feature is set to |true| the abstract schema will 
> be used to determine if a value is specified or not, if 
> |use-abstract-schema| is not set the |specified| flag on attribute nodes 
> is used to determine if attribute values should be written out.
> 
> Two problems here:
> 
> 1. The output-default-values feature is now the discard-default-content 
> feature so this should read, "...if the discard-default-content feature 
> is set to |false|. If the discard-default-content flag is set to true..."

done.

> 2. The |||use-abstract-schema| feature is not described in the list of 
> features for the DOMWriter given subsequently

here is a proposal:
[[
While serializing a document the serializer will write out non-specified
values (such as attributes whose specified is false) if the
discard-default-content feature is set to true. If the
discard-default-content flag is set to false and a schema is used for
validation, the schema will be also used to determine if a value is
specified or not. If no schema is used, the specified flag on attribute
nodes is used to determine if attribute values should be written out.
]]

Philippe
Received on Monday, 11 February 2002 15:27:51 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 22 June 2012 06:13:55 GMT