You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Brian Minchau (JIRA)" <xa...@xml.apache.org> on 2006/11/07 05:32:39 UTC

[jira] Commented: (XALANJ-2050) Serializer support for DOM Level 3 APIs

    [ http://issues.apache.org/jira/browse/XALANJ-2050?page=comments#action_12447627 ] 
            
Brian Minchau commented on XALANJ-2050:
---------------------------------------

THANKS NEIL!

Now Xerces can get on with using the Xalan serializer.  Of course others can now use the new
DOM Level 3 APIs too!  We'll need some updates to the 2.7.1 website, but that is another JIRA issue.

> Serializer support for DOM Level 3 APIs
> ---------------------------------------
>
>                 Key: XALANJ-2050
>                 URL: http://issues.apache.org/jira/browse/XALANJ-2050
>             Project: XalanJ2
>          Issue Type: New Feature
>          Components: DOM, Serialization
>    Affects Versions: 2.7
>            Reporter: Brian Minchau
>         Assigned To: Brian Minchau
>             Fix For: Latest Development Code
>
>         Attachments: dom3-ls-serializer.zip
>
>
> 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
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org