apogee xfroms and SAX parser questions

Hello, apogee@...!

Sorry my English.

I'm trying build simple OLTP demo application with Apogee XFroms and
Xml-Xindice. Xml instances is stored in Xindice and editing by Apogee
XFroms based on TestSWT document.* files - samples from
org.nuxeo.xforms.ui.tests

Environment:
Eclipse JEE 3.3
JDK 1.6.0_02/1.5.0_12

I'm write code editing document. It works fine without of Xindice
libraries.
//....
            ViewShell view = new ViewShell();
            view.open("");
// ....
public class ViewShell {
   private Shell sShell = null;
   private void createSShell() {/* skipped default code for Shell
creation */}

    private void createXForms(String xmlSource) {
        XInputSource src = new
URLInputSource(this.getClass().getResource("document.xhtml"));
        XFormsProcessor proc = new XFormsProcessor(src);
        if (!xmlSource.equals("")) {
            src = new StringInputSource(xmlSource);
(Continue reading)

Re: apogee xfroms and SAX parser questions

I'm sorry. Problem solved by delete xalan and xerces from dependences

http://xml.apache.org/xindice/faq.html#faq-N1009D

> I'm trying build simple OLTP demo application with Apogee XFroms and 
> Xml-Xindice. Xml instances is stored in Xindice and editing by Apogee 
> XFroms based on TestSWT document.* files - samples from 
> org.nuxeo.xforms.ui.tests
> 
> I'm write code editing document. It works fine without of Xindice 
> libraries.
> By adding Xindice libraries I've got errors. Can you help me with it? 
> Please.
> 
> Exception in thread "main" java.lang.AbstractMethodError: 
> org.apache.xerces.dom.DocumentImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
>    at 

--

-- 
with best regards
Nikolai Voynov
http://nvoynov.blogspot.com
Nikolay Voynov | 6 Nov 12:20

Re: apogee xfroms and SAX parser questions

I'm sorry again. Problem not solved

I'm write code by TestSWT example. It works fine.
After adding Xml-Xindice libraries I've got errors:

> Exception in thread "main" java.lang.AbstractMethodError: 
> org.apache.xerces.dom.DocumentImpl.setUserData(Ljava/lang/String;Ljava/lang/Object;Lorg/w3c/dom/UserDataHandler;)Ljava/lang/Object;
>    at 

--

-- 
with best regards
Nikolay Voynov
Nikolay Voynov | 6 Nov 16:40

Re: apogee xfroms and SAX parser questions

Problem solved.

-Dorg.xml.sax.driver=com.sun.org.apache.xerces.internal.parsers.SAXParser
-Djavax.xml.parsers.DocumentBuilderFactory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

--

-- 
with best regards
Nikolay Voynov

Gmane