[ http://issues.apache.org/jira/browse/XALANJ-2050?page=comments#action_58978 ] Brian Minchau commented on XALANJ-2050: ---------------------------------------
For a little history on Xerces using the Xalan serializer, which is slowly becoming a subproject of Apache Xalan, here are links: [1][2][3][4][5][6] to all of the relevant posts on xalan-dev and xerces-j-dev regarding the serializer. This was back in February of 2004. [1] http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=7544 [2] http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=7678 [3] http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=7694 [4] http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=3608 [5] http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=3629 [6] http://mail-archives.apache.org/eyebrowse/[EMAIL PROTECTED]&msgNo=3631 > 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: DOM, Serialization > Reporter: Brian Minchau > Assignee: 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]
