You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Aristotle B. Allen (JIRA)" <xm...@xml.apache.org> on 2008/08/09 19:46:44 UTC

[jira] Commented: (XMLBEANS-100) Support of DOM Level 3

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

Aristotle B. Allen commented on XMLBEANS-100:
---------------------------------------------

When using XmlBeans and saxon9, I try to transform using XSLT and Xpath 2.0 by setting the following system parameters.
-Djavax.xml.transform.TransformerFactory=net.sf.saxon.TransformerFactoryImpl -Djavax.xml.xpath.XPathFactory=net.sf.saxon.xpath.XPathFactoryImpl

XSL transforms on xsl 2.0 stylesheetes now yield the following exception, is there a workaround for this?

2008-08-08 17:10:55.112: java.lang.RuntimeException: DOM Level 3 Not implemented
	at org.apache.xmlbeans.impl.store.DomImpl._node_isSameNode(DomImpl.java:2471)
	at org.apache.xmlbeans.impl.store.Xobj$NodeXobj.isSameNode(Xobj.java:2586)
	at net.sf.saxon.dom.NodeWrapper.isSameNodeInfo(NodeWrapper.java:199)
	at net.sf.saxon.dom.NodeWrapper.compareOrder(NodeWrapper.java:297)
	at net.sf.saxon.sort.LocalOrderComparer.compare(LocalOrderComparer.java:30)
	at net.sf.saxon.sort.DocumentOrderIterator.compare(DocumentOrderIterator.java:53)
	at net.sf.saxon.sort.GenericSorter.quickSort1(GenericSorter.java:193)
	at net.sf.saxon.sort.GenericSorter.quickSort(GenericSorter.java:183)
	at net.sf.saxon.sort.DocumentOrderIterator.<init>(DocumentOrderIterator.java:34)
	at net.sf.saxon.sort.DocumentSorter.iterate(DocumentSorter.java:84)
	at net.sf.saxon.instruct.ForEach.processLeavingTail(ForEach.java:276)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Template.expand(Template.java:192)
	at net.sf.saxon.instruct.CallTemplate.process(CallTemplate.java:255)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.expr.LetExpression.processLeavingTail(LetExpression.java:551)
	at net.sf.saxon.instruct.Template.expand(Template.java:192)
	at net.sf.saxon.instruct.CallTemplate.process(CallTemplate.java:255)
	at net.sf.saxon.instruct.CallTemplate.processLeavingTail(CallTemplate.java:279)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Instruction.process(Instruction.java:94)
	at net.sf.saxon.instruct.ElementCreator.processLeavingTail(ElementCreator.java:298)
	at net.sf.saxon.instruct.Block.processLeavingTail(Block.java:409)
	at net.sf.saxon.instruct.Template.applyLeavingTail(Template.java:175)
	at net.sf.saxon.instruct.ApplyTemplates.applyTemplates(ApplyTemplates.java:343)
	at net.sf.saxon.Controller.transformDocument(Controller.java:1736)
	at net.sf.saxon.Controller.transform(Controller.java:1560)


> 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.
-
You can reply to this email to add a comment to the issue online.


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