Very old xml-apis:xml-apis:jar:1.0.b2 are incompatible with MenuParser & 
XmlPPISurveyParser
-------------------------------------------------------------------------------------------

                 Key: MIFOS-4096
                 URL: http://mifosforge.jira.com/browse/MIFOS-4096
             Project: mifos
          Issue Type: Bug
          Components: Build and Testing
            Reporter: Michael Vorburger
            Priority: Critical


On a recent head (last commit 6f922afcb2dfebb79836f1ed705088c2965f6f81 from Nov 
2nd), I got this, in Eclipse:

{noformat}Description   Resource        Path    Location        Type
The method getTextContent() is undefined for the type Node      MenuParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/framework/components/mifosmenu
       line 77 Java Problem
The method getTextContent() is undefined for the type Node      MenuParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/framework/components/mifosmenu
       line 180        Java Problem
The method getTextContent() is undefined for the type Node      MenuParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/framework/components/mifosmenu
       line 193        Java Problem
The method getTextContent() is undefined for the type Node      
XmlPPISurveyParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/customers/ppi/helpers        
line 101        Java Problem
The method getTextContent() is undefined for the type Node      
XmlPPISurveyParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/customers/ppi/helpers        
line 170        Java Problem
The method setSchema(Schema) is undefined for the type DocumentBuilderFactory   
MenuParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/framework/components/mifosmenu
       line 67 Java Problem
The method setSchema(Schema) is undefined for the type DocumentBuilderFactory   
TableTagParser.java     
/mifos-gazelle/application/src/main/java/org/mifos/framework/components/customTableTag
  line 65 Java Problem
The method setTextContent(String) is undefined for the type Element     
XmlPPISurveyParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/customers/ppi/helpers        
line 236        Java Problem
The method setTextContent(String) is undefined for the type Element     
XmlPPISurveyParser.java 
/mifos-gazelle/application/src/main/java/org/mifos/customers/ppi/helpers        
line 242        Java Problem{noformat}

The problem is that some dependencies (commons-digester and dom4j via 
hibernate) drag along a very old xml-apis:xml-apis:jar:1.0.b2.  acceptanceTests 
wants v1.3.03.  --  Normally I think you can get rid of all them - up-to-date 
XML APLs are in Java 6 already.  (Or leave the one in acceptanceTests and 
exclude the other ones, if there is a good reason; but I doubt it).

I'll attach a patch that resolved the problem for me locally. 

It's curious that this wasn't seen before?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://mifosforge.jira.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Mifos-issues mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to