W3C DOM Level 3 Load and Save Issues List

This document contains a list of issues regarding the DOM Level 3 Load and Save specification Last Call period. All comments or issues regarding the specification or this document must be reported to www-dom@w3.org (public archives) before July 31, 2003. After this date, we don't guarantee to take your comments into account before moving to Candidate Recommendation.

An XML version of this issues' list is also available.

Inside: Issue summary | State description | Decision cycle description | Issue details (Validate data)

Issue summary (35 issues)

Reformat summary with options:
Expert mode options
Hide columns:
Hide issues by type:
Hide issues by state:
Hide issues by acknowledgment:

Other views: types | states | concerning | reviewers | open actions

Create: new issue | new issues list

Changes between dates (YYYY-MM-DD) and [Optional]

Color key: error warning note

Id: TitleStateTypeAck.
harold1 : DOMInput.certified attribute meaningagreedclarificationNo reply from reviewer
manian2c : Progress eventsagreedclarificationNo reply from reviewer
manian3 : A DOMParser's DOMResourceResolveragreedclarificationNo reply from reviewer
cparpart1 : DOMParser.parseWithContextagreedclarificationNo reply from reviewer
clover3 : unbound-namespace-in-entityagreedclarificationNo reply from reviewer
honkala1 : DOMParserFilter inconsistenciesagreedclarificationNo reply from reviewer
honkala2 : DOMSerializerFilter inconsistenciesagreedclarificationNo reply from reviewer
xmlcorewg2 : Empty intput sourceagreedclarificationNo reply from reviewer
xmlcorewg4 : DOMParser and "unbound-namespace-in-entity"agreedclarificationNo reply from reviewer
xmlcorewg6 : Finding data in DOMInputagreedclarificationNo reply from reviewer
clover1 : Various editsagreededitorialNo reply from reviewer
xmlcorewg5 : DOMParser XML namespace reference.agreededitorialNo reply from reviewer
clover2 : DOMImplementationLS.createDOMOuputagreedrequestNo reply from reviewer
manian2a : DOMParser interface nameagreedrequestNo reply from reviewer
manian4a : DOMSerializer interface nameagreedrequestNo reply from reviewer
xmlcorewg1 : Unicode referencesagreedrequestNo reply from reviewer
xmlcorewg3 : DOMParser and CDATA as structure.agreedrequestNo reply from reviewer
xmlcorewg9 : DOMOutputagreedrequestNo reply from reviewer
i18n5 : DOMSerializer encoding pseudo attribute handlingagreedrequestNo reply from reviewer
i18n10 : Unicode 4.0agreededitorialAgreement
i18n7 : DOMSerializer.writeURI namingagreedrequestAgreement
i18n2 : DOMParser check character normalization erroragreedrequest
manian2d : DOMParser.configdeclinedclarificationNo reply from reviewer
manian4b : DOMSerializer.configdeclinedclarificationNo reply from reviewer
cparpart2 : newline handlingdeclinedclarificationNo reply from reviewer
manian2b : DOMParser and EventTargetdeclinedrequestNo reply from reviewer
honkala3 : Make convenience interfaces mandatorydeclinedrequestNo reply from reviewer
xmlcorewg7 : DOMSerializer and node typesdeclinedrequestNo reply from reviewer
xmlcorewg8 : DOMSerializer.writeURIdeclinedrequestNo reply from reviewer
xmlcorewg10 : DOMOutput relative systemIDdeclinedrequestNo reply from reviewer
i18n6 : DOMSerializer.writeURI and encodingdeclinedrequestAgreement
i18n9 : DocumentLS.load config parametersdeclinedrequestAgreement
i18n3 : DOMSerializer output clarification declined initial suggestion, agreed on follow-up request
i18n8 : DOMSerializer UTF8 & UTF16 & byteorders declined initial suggestion, agreed on follow-up request
i18n1 : DOMParser character normalizationdeclinedrequest

State description

Decision cycle description

Issue details

harold1: DOMInput.certified attribute meaning

The new certified attribute of DOMInput has a very unobvious meaning. I suggest renaming it either "normalized" or "certifiedNormalized" or perhaps even "certifiedUnicodeNormalized"

Clarification concerning
DOMInput.certified

Transition history

raised on 22 Jun 2003 by Elliotte Rusty Harold
agreed on 15 Aug 2003

The DOM WG decided to rename DOMInput.certified to DOMInput.certifiedText to match the naming used in the charmodel spec..

Acknowledgment cycle
announced by group on 8 Sep 2002

manian2c: Progress events

The spec is not very clear when the progress events are fired. Probably, the spec should include some scenarios when the progress event should be fired or should include a sentence saying that signaling of progress events is implementation dependent.

Clarification concerning
DOMParser

Transition history

raised on 18 Jul 2003 by Anjana Manian
agreed on 15 Aug 2003

The spec is update to clearly state that this is implementation dependent. In addition to that, the spec now also includes an example of how an implementation *might* dispatch progress events, but that's just an example.

Acknowledgment cycle
announced by group on 9 Sep 2002

manian3: A DOMParser's DOMResourceResolver

DOMParser does not have the attribute entity resolver. Therefore, it is not clear how the DOMResourceResolver is associated with the DOMParser.

Clarification concerning
DOMParser

Transition history

raised on 18 Jul 2003 by Anjana Manian
agreed on 15 Aug 2003

Parameter "resource-resolver" addded to DOMParser.config.

Acknowledgment cycle
announced by group on 9 Sep 2002

cparpart1: DOMParser.parseWithContext

It is not clarified how parseWithContext interacts with the DOMBuilderFilter/DOMParserFilter and its very own passed ACTION TYPE. Which one gets precedance? Or will the filter be ignored and interpreded as accept?

Clarification concerning
DOMParser.parseWithContext()

Transition history

raised on 21 Jul 2003 by Christian Parpart
agreed on 15 Aug 2003

The spec was updated to clarify that filters are not ignored. See responce for clarification on the rest (which the WG didn't feel a need to clarify).

Acknowledgment cycle
announced by group on 9 Sep 2002

clover3: unbound-namespace-in-entity

In DOMSerializer: [["unbound-namespace-in-entity" [warning] Raised if the configuration parameter "entities" is set to true and an unbound namespace prefix is encounterd in a referenced entity.]]

Does this mean...

a. prefixes unbound in an entity declaration cause an error (as for DOMParser), or

b. prefixes unbound in an entity declaration cause an error only if they are referenced somewhere in the document, or

c. prefixes unbound in an entity reference cause an error?

Clarification concerning
DOMSerializer
Discussion history
15 Aug 2003

Transition history

raised on 21 Jul 2003 by Andrew Clover
agreed on 10 Sep 2003

The WG found numerous problems with the way this error was defined. The spec now defines an implementation dependent "unbound-prefix-in-entity" warning on DOMParser, and a fatal "unbound-prefix-in-entity-reference" error in DOMSerializer.

Acknowledgment cycle
announced by group on 10 Sep 2003

honkala1: DOMParserFilter inconsistencies

1.1 says DOMParserFilter filters only elements, while 1.3 says all kinds of nodes (e.g. attributes and text nodes) can be filtered. Which is right? The preferred answer is that of 1.3. Please fix this in the spec.

Clarification concerning
DOMParserFilter

Transition history

raised on 1 Aug 2003 by Mikko Honkala, on behalf of XForms
agreed on 15 Aug 2003

1.3 is correct, fixed.

Acknowledgment cycle
announced by group on 10 Sep 2002

honkala2: DOMSerializerFilter inconsistencies

1.1 says DOMSerializerFilter can be used to filter out nodes, but 1.3 says that only elements can be filtered. Why doesn't this interface include attributes? An example of a use case: in XForms the 'relevant' attribute can be set to false on a attribute, which removes it from the serialization. Please fix this so that also attributes and text nodes can be filtered out.

Clarification concerning
DOMSerializerFilter

Transition history

raised on 1 Aug 2003 by Mikko Honkala, on behalf of XForms
agreed on 15 Aug 2003

1.1 is correct, 1.3 fixed to state that attributes are passed to the filter (except for xmlns and default attributes).

Acknowledgment cycle
announced by group on 12 Sep 2002

xmlcorewg2: Empty intput source

In interface DOMImplementationLS, method createDOMInput(), it says "Create a new empty input source." "Empty" is not defined. Does it mean that all attributes are null?

This comment will also probably apply to createDOMOutput() when the latter is added (see previous comment).

Clarification concerning
DOMImplementationLS.createInput

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Yes, that's basically what it means. Description clarified in the spec.

Acknowledgment cycle
announced by group on 9 Sep 2002

xmlcorewg4: DOMParser and "unbound-namespace-in-entity"

In interface DOMParser, in the description of the "unbound-namespace-in-entity" warning, how can an unbound prefix be found in an entity *declaration*? Perhaps you mean in an entity's replacement text?

Clarification concerning
DOMParser

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Fixed. (related to #clover3)

Acknowledgment cycle
announced by group on 15 Sep 2002

xmlcorewg6: Finding data in DOMInput

In interface DOMInput, it says "The DOMParser will use the DOMInput object to determine how to read data. The DOMParser will look at the different inputs specified in the DOMInput in the following order to know which one to read from, the first one through which data is available will be used: "

It is not clear how the DOMParser does that, i.e. how it determines if data is available. Is there an expectation that, say, DOMInput.characterStream will be null if data is not available there? What about stringData? Null or empty? Is this binding-specific?

Same comment for DOMOutput.

Clarification concerning
DOMInput

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Fixed. The spec now specifies how to tell if data is available or not (DOMOutput fixed too).

Acknowledgment cycle
announced by group on 15 Sep 2002

clover1: Various edits

DOMInput > systemId > "relative URI's" : Shouldn't have an apostrophe.

DOMParser > parse : The parameter 'is' should probably be called 'input', for consistency.

DOMSerializer > writeURI : The parameter 'URI' should probably not be in capitals, for consistency.

Discussion history
26 Jun 2003

Transition history

raised on 25 Jun 2003 by Andrew Clover
agreed on 15 Aug 2003

The DOM WG agreed with all those suggestions.

Acknowledgment cycle
announced by group on 9 Sep 2002

xmlcorewg5: DOMParser XML namespace reference.

In interface DOMParser, in the description of the "namespaces" parameter, shouldn't there also be a reference to [XML Namespaces 1.1]?

Editorial concerning
DOMParser

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Fixed. The spec now references both namespaces and namespaces 1.1.

Acknowledgment cycle
announced by group on 15 Sep 2002

clover2: DOMImplementationLS.createDOMOuput

A createDOMOutput method seems to be missing in DOMImplementationLS.

Request concerning
DOMImplementationLS

Transition history

raised on 25 Jun 2003 by Andrew Clover
agreed on 15 Aug 2003

The DOM WG agreed that the method createDOMOutput() was missing. That method will be added in the next update.

Acknowledgment cycle
announced by group on 9 Sep 2002

manian2a: DOMParser interface name

This interface was called DOMBuilder in the earlier version(s) of the spec. Is there any specific reason why the name is changed to DOMParser. The name change to "DOMParser" is confusing to our users since we already have a public class called DOMParser (oracle.xml.parser.v2.DOMParser) and from a quick google search, it looks like Xerces might also have one (namely org.apache.xerces.parser.DOMParser ) If there is no "specific" reason for changing the name to DOMParser, it will be preferred if the name is changed back to DOMBuilder.

Alternatively, the interface could be changed to DOMParserLS or DOMBuilderLS (consistent with DOMImplementationLS, DocumentLS etc).

Request concerning
DOMParser

Transition history

raised on 18 Jul 2003 by Anjana Manian
agreed on 15 Aug 2003

The DOM WG agreed that the names should change, DOMParser[Filter] is now LSParser[Filter].

Acknowledgment cycle
announced by group on 17 Sep 2002

manian4a: DOMSerializer interface name

Is there any specific reason why DOMWriter is changed to DOMSerializer. It will be preferred if DOMSerializer is changed to DOMSerializerLS or to DOMWriterLS.

Request concerning
DOMSerializer

Transition history

raised on 18 Jul 2003 by Anjana Manian
agreed on 15 Aug 2003

The DOM WG agreed that the names should change, DOMSerializer[Filter] is now LSSerializer[Filter].

Acknowledgment cycle
announced by group on 17 Sep 2002

xmlcorewg1: Unicode references

In several places (1.2.3, 1.2.4, DOMInput, DOMOutput), it is said that UTF-16 is defined in [Unicode] and Amendment 1 of [ISO/IEC 10646]. That last part is obsolete, UTF-16 was defined in Amd 1 of 10646:1993, but integrated in an Appendix of 10646:2000. Just say "...in [Unicode] and in [ISO/IEC 10646]".

Request concerning
DOM Load and Save

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Suggested change accepted.

Acknowledgment cycle
announced by group on 15 Sep 2002

xmlcorewg3: DOMParser and CDATA as structure.

In interface DOMParser, 1st bullet after 3rd para, it is wrong to claim that CDATA sections are structure. It also seems wrong to set expectations that CDATA sections will show up after parsing when in fact parsers are not required to report them.

Request concerning
DOMParser

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Fixed, spec no longer referes to CDATA section nodes as structure.

Acknowledgment cycle
announced by group on 15 Sep 2002

xmlcorewg9: DOMOutput

In interface DOMOutput, the descriptions of encoding and systemID seem to have been more or less copy-pasted from DOMInput, not fully taking into account the fact that output is involved, not input. Setting encoding indicates an intention, not a knowledge of the encoding of some existing data.

Request concerning
DOMOutput

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
agreed on 15 Aug 2003

Fixed.

Acknowledgment cycle
announced by group on 15 Sep 2002

i18n5: DOMSerializer encoding pseudo attribute handling

In DOMSerializer, the contents of the encoding pseudo-attribute of the XML (or text) declaration is underspecified. It should be specified that this MUST be the actual encoding that is used for output, whatever the source that determined that was.

Request concerning
DOMSerializer

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
agreed on 15 Aug 2003

Fixed in the spec.

Acknowledgment cycle
announced by group on 16 Sep 2002

i18n10: Unicode 4.0

The reference to Unicode 3.0 should be updated to Unicode 4.0, ISBN 0-321-18578-1.

Editorial concerning
Load and Save

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
agreed on 15 Aug 2003

Reference updated.

Acknowledgment cycle
announced by group on 16 Sep 2002
agreement by reviewer on 23 Sep 2003

i18n7: DOMSerializer.writeURI naming

In DOMSerializer, method writeURI(): the name writeURI is a little unfortunate, it seems to imply that a URI is written, not that it is written *to*.

Request concerning
DOMSerializer.writeURI

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
agreed on 15 Aug 2003

Renamed to writeToURI().

Acknowledgment cycle
announced by group on 16 Sep 2002
agreement by reviewer on 23 Sep 2003

i18n2: DOMParser check character normalization error

Interface DOMParser: There should be an error type defined for failure to check normalization (sugg. "normalization-checking-failure") in addition to the existing "unknown-character-denormalization".

Request concerning
DOMParser

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
agreed on 15 Aug 2003

A non-fatal "check-character-normalization-failure" error was added to the spec.

Acknowledgment cycle
announced by group on 16 Sep 2002
proposal from reviewer on 23 Sep 2003

Please reword to:

"check-character-normalization-failure" [error]

Raised if the parameter "check-character-normalization" is set to true and a string is encoutered that fails normalization checking.

or something similar.

proposal incorporated by group on 8 Oct 2003

done.

manian2d: DOMParser.config

"In addition to the parameters recognized in DOM Level 3 Core...":

Does this mean that all the parameters listed in DOMConfiguration interface in DOM Level 3 needs to be recognized by DOM LS implementation?

If yes, then some of the parameters are repeated here like "infoset", "namespace" etc. They need to be removed.

If not, it should be explicitly stated which parameters (if any) from DOM Level 3 Core needs to be recognized by DOM LS module.

Clarification concerning
DOMParser

Transition history

raised on 18 Jul 2003 by Anjana Manian
declined on 15 Aug 2003

The spec clearly says that it "adds or modifies" the parameters listed there, the WG doesn't feel the need for any further clarification on this.

Acknowledgment cycle
announced by group on 9 Sep 2002

manian4b: DOMSerializer.config

Same as manian2d, but for DOMSerializer.config.

Clarification concerning
DOMSerializer.config

Transition history

raised on 18 Jul 2003 by Anjana Manian
declined on 15 Aug 2003

The spec clearly says that it "adds or modifies" the parameters listed there, the WG doesn't feel the need for any further clarification on this.

Acknowledgment cycle
announced by group on 9 Sep 2002

cparpart2: newline handling

Whitespace handling clarification. See email.

Clarification concerning

Transition history

raised on 21 Jul 2003 by Christian Parpart
declined on 15 Aug 2003

Outside the scope of the LS spec.

Acknowledgment cycle
announced by group on 17 Sep 2002

manian2b: DOMParser and EventTarget

"Asynchronous DOMParser objects are expected to also implement the events::EventTarget interface so that event listener can be registered on asynchronous DOMParser objects."

It will be much cleaner and clearer if DOMParser extends events:EventTarget interface instead of expecting the implementation to extend and support EventTarget. It could be argued that synchronous DOMParser is not required to implement the events::EventTarget and so it should not be a forced to implement one. In that case, a possible solution is to have a generic DOMParser interface and two other interfaces namely DOMParserSynchronous and DOMParserAsynchronous which extends DOMParser. Then the DOMParserAsynchronous could be made to implement the events::EventTarget interface.

Request concerning
DOMParser

Transition history

raised on 18 Jul 2003 by Anjana Manian
declined on 15 Aug 2003

We've discussed this before, won't do it. We don't do that for any other similar cases either.

Acknowledgment cycle
announced by group on 9 Sep 2002

honkala3: Make convenience interfaces mandatory

Why are these interfaces optional? If the claim is right that they are just convenience methods, they should be trivial to implement. For users it will be a pain to check whether an implementation supports these interfaces. Please fix this by making them mandatory.

Request concerning
Convenience Interfaces

Transition history

raised on 1 Aug 2003 by Mikko Honkala, on behalf of XForms
declined on 15 Aug 2003

DocumentLS and ElementLS were removed from the spec.

Acknowledgment cycle
announced by group on 17 Sep 2002

xmlcorewg7: DOMSerializer and node types

In interface DOMSerializer, the statement "For all other types of nodes the serialized form is not specified, but should be something useful to a human for debugging or diagnostic purposes." seems a bit weak. It should be possible to specify more, especially for Element nodes.

Request concerning
DOMSerializer

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
declined on 15 Aug 2003

The WG discussed this but decided not to attempt to clarify this further in the spec. In stead, the WG chose to replace the above sentence with "For all other types of nodes the serialized form is implementation dependent.".

Acknowledgment cycle
announced by group on 15 Sep 2002

xmlcorewg8: DOMSerializer.writeURI

In interface DOMSerializer, method writeURI(), it would be desirable to specify more how to write to a URI, at least for very common schemes such as HTTP(S) and mailto.

In HTTP, it would seem desirable to actually be able to choose which verb (POST or PUT) is used. POST is supposed to be used when posting forms, which XForms does with XML data. PUT is supposed to be used for uploading data, here an XML document. The DOM user should be able to specify which to use, perhaps using an additional parameter to the method.

The spec should also specify to include a Content-Type header with a media type (which? need a parameter to the method?) and a charset parameter.

Same comment for DOMOutput when the systemID ends up being used.

Request concerning
DOMSerializer

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
declined on 15 Aug 2003

The DOM WG discussed this issue and decided to specify that when writing to a HTTP URI, a HTTP PUT is always performed. For other typs of URIs, the mechanism for writing the data to the URI is implementation dependent. The WG did not want to extend the API to let the user specify a content type, though it was decided to make the spec state that the implementation is responsible of associating the appropriate media type with the serialized data. As for charset, use DOMSerializer.write() and specify the charset in the DOMOutput. (DOMSerializer.writeURI() is now simply a convenience method that acts as if calling write(), passing the uri using the DOMOutput argument).

Acknowledgment cycle
announced by group on 15 Sep 2002

xmlcorewg10: DOMOutput relative systemID

In interface DOMOutput, is it not possible to specify the behavior when the systemID is a relative URI? Wouldn't "relative to baseURI of Document" work?

Request concerning
DOMOutput

Transition history

raised on 6 Aug 2003 by François Yergeau, on behalf of XML Core
declined on 15 Aug 2003

The WG discussed this and if anything, the systemId is relative to the caller's current location, but whether or not that's possible, and what that means, is implementation dependent. Therefore, the spec remains unchanged.

Acknowledgment cycle
announced by group on 15 Sep 2002

i18n6: DOMSerializer.writeURI and encoding

In DOMSerializer, method writeURI(): there is no way to control the encoding that will be used to output. The method itself doesn't have a parameter, and the order of priorities is Document.actualEncoding followed by Document.xmlEncoding. Document.actualEncoding being read-only, the user has no way to specify the output encoding, except if by chance Document.actualEncoding is null. There should be an additional "encoding" parameter (nullable, to fall back to actualEncoding and xmlEncoding) to the method.

Request concerning
DOMSerializer.writeURI

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
declined on 15 Aug 2003

DOMSerializer.writeURI() is merely a convenience method (and is now defined as such), if you need to pass encoding information when writing to a IRI, use DOMSerializer.write() and set the encoding on the DOMOutput.

Acknowledgment cycle
announced by group on 16 Sep 2002
agreement by reviewer on 23 Sep 2003

OK, as long as the behaviour w/r to encoding is sufficiently specified (which seems to be the case now).

i18n9: DocumentLS.load config parameters

In DocumentLS.load(), it is said that 'the parameters used in the DOMParser interface are assumed to have their default values with the exception that the parameters "entities", "normalize-characters", "check-character-normalization" are set to "false".', which is strange as the last 2 of these parameters do default to false anyway. "check-character-normalization" should default to true (see other comment).

Request concerning
DocumentLS.load

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
declined on 15 Aug 2003

DocumentLS and ElementLS were removed from the spec, this change won't be made.

Acknowledgment cycle
announced by group on 17 Sep 2002
agreement by reviewer on 23 Sep 2003

i18n3: DOMSerializer output clarification

In the discussion of interface DOMSerializer (above the IDL definition), it would be nice if character references were specified to be hexadecimal (preferred) or decimal. One way or the other determined by the spec, not implementation-dependent. Similarly (still within DOMSerializer), it would be better to specify serialization of attribute values to be always in quotes (or apostrophes, you choose), with escaping as necessary.

Request concerning
DOMSerializer

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
declined on 15 Aug 2003

The DOM WG discussed this before, and the WG has always decided against doing this. If you want canonicalized output, set the "canonical-form" parameter, if not, you'll get implementation dependent output.

Acknowledgment cycle
announced by group on 16 Sep 2002
proposal from reviewer on 23 Sep 2003

Reluctantly accepted. Given the apparently zero implementation burden of choosing one way or the other in the spec, one wonders why the WG resists this. Of course, the benefit is not great either, but given the rather severe under-specification of serializing anything but Documents and Entities, any amount of predictability would seem desirable...

We would appreciate a at least some text encouraging implementers to use hex for character references, since that is what all character encoding standards use.

proposal incorporated by group on 8 Oct 2003

One of the reasons the this request was rejected is that the WG wants existing DOM serializers be wrappable in an LS serializer w/o changes to the existing serializer (which may or my not be in control of who's wrapping it in an LSSerializer interface) and still be able to claim compliance (which wouldn't be possible if the existing serializer character references in a way that didn't follow what's required by the LS spec).

Text encouraging implementers to use hex for character references was inserted.

i18n8: DOMSerializer UTF8 & UTF16 & byteorders

It should be specified that DOMSerializers MUST be able to serialize in UTF-8 and both byte-orders of UTF-16, to close the loop with XML parsers which are obligated to read these.

Request concerning
DOMSerializer
Discussion history
18 Sep 2003, 18 Sep 2003, 19 Sep 2003, 20 Sep 2003, 20 Sep 2003, 20 Sep 2003, 9 Oct 2003, 9 Oct 2003, 9 Oct 2003

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
declined on 15 Aug 2003

The DOM WG decided against this, however, it did decide to require that one of those encodings is required.

Acknowledgment cycle
announced by group on 16 Sep 2002
objection from reviewer on 23 Sep 2003

Please reconsider this one. It seems to be asking for non-compatibility of code. I think a minimum of one encoding should be required for all implementations, preferably UTF-8; and I really don't think it would be that onerous to require all three.

objection from reviewer on 23 Sep 2003

While this is sufficient for strict interoperability, it is not for compatibility of code. If there is not at least one required encoding, it is not possible to write a DOM program that will work over any DOM implementation. We insist that at least UTF-8 be required. Furthermore, since XML 1.0 did it back in 1998, it cannot be so onerous to require all 3. Please reconsider.

objection incorporated by group on 8 Oct 2003

Agreed, the spec now requires that those 3 encodings must be supported when dealing with XML data.

i18n1: DOMParser character normalization

Interface DOMParser: character normalization checking is now controlled by the "check-character-normalization" parameter of DOMCOnfiguration defined in Core. The fact that the "true" value (do check) is marked as [optional] (not the default, not even required to implement) is not acceptable. Whereas Charmod says that normalization SHOULD be checked, users are not even able to check if the "true" value is not implemented. Furthermore, the DocumentLS.load() and loadXML() methods automatically do the wrong thing and have no way to do the right thing if the default is false.

Request concerning
DOMParser

Transition history

raised on 8 Aug 2003 by François Yergeau, on behalf of Internationalization WG
declined on 15 Aug 2003

Users *are* able to check if the "true" value is implemented or not. Using the DOMConfiguration object, a user can call config.canSetParameter("check-character-normalization", true), and that will tell them if the implementation supports character normalization checking. The DOM Level 3 Load and Save (and DOM Level 3 Core) specs do not *require* that implementations *must* support character normalization.

As for DocumentLS, that interface is no longer part of the LS spec.

Acknowledgment cycle
announced by group on 17 Sep 2002
objection from reviewer on 23 Sep 2003

This doesn't address our issue that making implementation optional is not acceptable.

objection maintained by group on 2 Oct 2003

For performance reasons, we believe the character normalization cannot be true by default. Also, no one in the WG committed to implement this feature.


Maintained by DOM Working Group.

Last update: $Date: 2003/12/17 21:24:16 $