Defining new tag in XML file

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Defining new tag in XML file

serveen Kaur
I am trying to introduce a new tag "print" in ProductServices.xml  file as follows:

 1)Defined  tag  "print" in ofbiz\framework\minilang\dtd\ simple-methods.xsd.
 2)Created "println.java" file under  ofbiz\framework\minilang\src\org\ofbiz\minilang\method\otherops .

 but while running the application, when "print" tag is executed, it is not able to recognize tag name. In readOperations method of class SimpleMethod.java the value of factory object is coming "null". It is not locating the path of "println.java" file.
Any suggession would be appreciated.