You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Neil Delima <nd...@ca.ibm.com> on 2003/11/13 00:01:18 UTC

Some more DOM L3 Core CR patches





Attached are some more DOM L3 Core CR [1] patches.

- Some implementation changes:
  - TypeInfo.isDerivedFrom added [2].  Not complete, will need to revisit
to account for derivation constants.

     (See attached file: isDerivedFrom.diff)

  - Added implementations for DOMStringList [3] and
DOMConfiguration.getParameterNames() [4].  Note, getParameterNames() is
DOMParserImpl and DOMSerializerImpl will have to be updated when LS changes
are made.

        (See attached file: DOMStringList.java) (for
org.apache.xerces.dom3.*)   (See attached file: DOMStringListImpl.java)

       (See attached file: Constants.diff)(See attached file:
DOMConfigurationImpl.diff)(See attached file: DOMParserImpl.diff)(See
attached file: DOMSerializerImpl.diff)


  - DOMImplementationSource: renamed getDOMImplementations to
getDOMImplementationList [5].

(See attached file: DOMImplementationSourceImpl.diff)

  - Updates to
    Document: config (domConfig), actualEncoding (inputEncoding),
xmlStandalone, xmlEncoding, xmlVersion [6], calling a UserDataHandler for
adoptNode [8]

   (See attached file: AbstractDOMParser.diff)  (See attached file:
CoreDocumentImpl.diff)(See attached file: DeferredDocumentImpl.diff)(See
attached file: DefaultDocument.diff)  (See attached file:
PSVIDocumentImpl.diff)

    Entity: actualEncoding, xmlStandalone, xmlEncoding, xmlVersion  [8]

       (See attached file: DeferredEntityImpl.diff)(See attached file:
EntityImpl.diff)

    Text: isWhitespaceInElementContent (isElementContentWhitespace) [9]

    (See attached file: TextImpl.diff)(See attached file: DefaultText.diff)

    DOMLocator:  byteOffset and utf16Offset

    (See attached file: DOMErrorHandlerWrapper.diff)(See attached file:
DOMLocator.diff)(See attached file: DOMLocatorImpl.diff)


  - DOM3 sample: Fix

     (See attached file: DOM3.diff)

- dom3 test fixes
(See attached file: Test-dom3.diff)(See attached file: Test-thread.diff)


Thanks,
Neil Delima / IBM.


[1] http://www.w3.org/TR/2003/CR-DOM-Level-3-Core-20031107/core.html
[2] http://www.w3.org/TR/DOM-Level-3-Core/core.html#TypeInfo-isDerivedFrom
[3] http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMStringList
[4]
http://www.w3.org/TR/DOM-Level-3-Core/core.html#DOMConfiguration-parameterNames
[5] http://www.w3.org/TR/DOM-Level-3-Core/core.html#ID-getDOMImpls
[6] http://www.w3.org/TR/DOM-Level-3-Core/core.html#Document3-inputEncoding
[7]
http://www.w3.org/TR/2003/CR-DOM-Level-3-Core-20031107/core.html#UserDataHandler-ADOPTED
[8] http://www.w3.org/TR/DOM-Level-3-Core/core.html#Entity3-inputEncoding
[9]
http://www.w3.org/TR/DOM-Level-3-Core/core.html#Text3-isElementContentWhitespace
[10] http://www.w3.org/TR/DOM-Level-3-Core/core.html#Interfaces-DOMLocator