Serializer support for DOM Level 3 APIs
---------------------------------------

         Key: XALANJ-2050
         URL: http://issues.apache.org/jira/browse/XALANJ-2050
     Project: XalanJ2
        Type: New Feature
  Components: Serialization, DOM  
    Reporter: Brian Minchau
 Assigned to: Brian Minchau 


The serializer has a
    Serializer ser = SerializerFactor.getSerializer(props);
that can then be used to serialize a DOM with:
    DOMSerializer domSerializer = ser.asDOMSerializer();
    domSerializer.serialize(doc);

However, the doc to be serialized must be a DOM level 2 docuement.

The serializer should support DOM leve 3 APIs.
We probably need a
    ser.asDOM3Serializer();
method on the Serializer interface which would return a DOM3Serializer object.

I suggest that a class like DOM3TreeWalker exist internally, much like 
TreeWalker,
which would contain the bulk of the necessary DOM 3 API calls in its 
serialization.
The core of the serializer code should be unaffected.
- Brian Minchau


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to