[ 
https://issues.apache.org/jira/browse/XMLBEANS-100?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13066302#comment-13066302
 ] 

Robert H. Pollack edited comment on XMLBEANS-100 at 7/17/11 3:54 AM:
---------------------------------------------------------------------

Just for the record, what's going on here is that XMLBeans uses its own 
implementation of the DOM interfaces. It's  a DOM level 2 implementation--the 
level 3 operations are present, but all they do is to throw an exception. The 
problem is that some XSLT processors call the level 3 methods, with the results 
reported here. One workaround is to copy the XMLBeans DOM nodes to a genuine 
level 3 implementation. Another workaround is to avoid DOM input altogether, by 
having XMLBeans send XML text to a stream and sending that stream to XSLT.

The problem is still present in XMLBeans 2.5.0, but the DOM copying technique 
still works and I have also verified that the XmlObject class can indeed parse 
a level 3 DOM created by XSLT. 


      was (Author: rpollack):
    Just for the record, what's going on here is that XMLBeans uses its own 
implementation of the DOM interfaces. It's  a DOM level 2 implementation--the 
level 3 operations are present, but all they do is to throw an exception. The 
problem is that some XSLT processors call the level 3 methods, with the results 
reported here. One workaround is to copy the XMLBeans DOM nodes to a genuine 
level 3 implementation. Another workaround is to avoid DOM altogether, by 
having XMLBeans output text to a stream.

The problem is still present in XMLBeans 2.5.0, but the DOM copying technique 
still works and I have also verified that the XmlObject class can indeed parse 
a level 3 DOM created by XSLT. 

  
> Support of DOM Level 3
> ----------------------
>
>                 Key: XMLBEANS-100
>                 URL: https://issues.apache.org/jira/browse/XMLBEANS-100
>             Project: XMLBeans
>          Issue Type: New Feature
>          Components: DOM
>    Affects Versions: Version 2
>            Reporter: Walter Dorninger
>            Assignee: Jacob Danner
>            Priority: Minor
>             Fix For: TBD
>
>
> Support of DOM Level 3 would be a powerful feature.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@xmlbeans.apache.org
For additional commands, e-mail: dev-h...@xmlbeans.apache.org

Reply via email to