Hi All,
I am using the older version ofbiz application and in my application i am getting the following error. "InventoryServices.xml process error. Line: 22. Error message: Schema error: A group with "ref" present must not have children." This is because of the changes in the simple method xsd file as per "http://docs.ofbiz.org/display/OFBTECH/Simple+Method+Cleanup+Effort+(Done)" For that reason i want to change the path of the "xsi:noNamespaceSchemaLocation" in <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=" http://www.ofbiz.org/dtds/simple-methods.xsd"> tag to the Local application xsds in the miniilang/dtd/ . How to give the local path of the *.xsd in xsi:noNamespaceSchemaLocation. -- With regards, S K Pradeep kumar |
first the url should be
http://ofbiz.apache.org/dtds/simple-methods.xsd there is a 301 redirect but not sure if it works on a namespace request. next when ofbiz is running it is setup to use the local xsd's by default. S K Pradeep Kumar sent the following on 5/13/2009 7:45 AM: > Hi All, > > I am using the older version ofbiz application and in my application i am > getting the following error. > > "InventoryServices.xml process error. Line: 22. Error message: Schema error: > A group with "ref" present must not have children." > > This is because of the changes in the simple method xsd file as per > "http://docs.ofbiz.org/display/OFBTECH/Simple+Method+Cleanup+Effort+(Done)" > > For that reason i want to change the path of the > "xsi:noNamespaceSchemaLocation" in > <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation=" > http://www.ofbiz.org/dtds/simple-methods.xsd"> > tag to the Local application xsds in the miniilang/dtd/ . > > How to give the local path of the *.xsd in xsi:noNamespaceSchemaLocation. > > -- BJ Freeman http://www.businessesnetwork.com/automation http://bjfreeman.elance.com http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro Systems Integrator. |
In reply to this post by skpradeepkumar
See:
http://docs.ofbiz.org/download/attachments/1218/eclipse_xml_catalog_howt o.pdf Here are the catalogs to make things even easier: /framework/base/dtd/base-catalog.xml /framework/entity/dtd/entity-catalog.xml /framework/minilang/dtd/minilang-catalog.xml /framework/service/dtd/service-catalog.xml /framework/testtools/dtd/testtools-catalog.xml /framework/widget/dtd/widget-catalog.xml -----Original Message----- From: S K Pradeep Kumar [mailto:[hidden email]] Sent: Wednesday, May 13, 2009 10:46 AM To: [hidden email] Subject: how to change the path of xsi:noNamespaceSchemaLocation Hi All, I am using the older version ofbiz application and in my application i am getting the following error. "InventoryServices.xml process error. Line: 22. Error message: Schema error: A group with "ref" present must not have children." This is because of the changes in the simple method xsd file as per "http://docs.ofbiz.org/display/OFBTECH/Simple+Method+Cleanup+Effort+(Don e)" For that reason i want to change the path of the "xsi:noNamespaceSchemaLocation" in <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=" http://www.ofbiz.org/dtds/simple-methods.xsd"> tag to the Local application xsds in the miniilang/dtd/ . How to give the local path of the *.xsd in xsi:noNamespaceSchemaLocation. -- With regards, S K Pradeep kumar |
Administrator
|
Also http://docs.ofbiz.org/display/OFBIZ/FAQ+-+Tips+-+Tricks+-+Cookbook+-+HowTo#FAQ-Tips-Tricks-Cookbook-HowTo-localeXSD
Jacques From: "Sanders, Brian" <[hidden email]> > See: > http://docs.ofbiz.org/download/attachments/1218/eclipse_xml_catalog_howt > o.pdf > > Here are the catalogs to make things even easier: > /framework/base/dtd/base-catalog.xml > /framework/entity/dtd/entity-catalog.xml > /framework/minilang/dtd/minilang-catalog.xml > /framework/service/dtd/service-catalog.xml > /framework/testtools/dtd/testtools-catalog.xml > /framework/widget/dtd/widget-catalog.xml > > -----Original Message----- > From: S K Pradeep Kumar [mailto:[hidden email]] > Sent: Wednesday, May 13, 2009 10:46 AM > To: [hidden email] > Subject: how to change the path of xsi:noNamespaceSchemaLocation > > Hi All, > > I am using the older version ofbiz application and in my application i > am > getting the following error. > > "InventoryServices.xml process error. Line: 22. Error message: Schema > error: > A group with "ref" present must not have children." > > This is because of the changes in the simple method xsd file as per > > "http://docs.ofbiz.org/display/OFBTECH/Simple+Method+Cleanup+Effort+(Don > e)" > > For that reason i want to change the path of the > "xsi:noNamespaceSchemaLocation" in > <simple-methods xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:noNamespaceSchemaLocation=" > http://www.ofbiz.org/dtds/simple-methods.xsd"> > tag to the Local application xsds in the miniilang/dtd/ . > > How to give the local path of the *.xsd in > xsi:noNamespaceSchemaLocation. > > > -- > With regards, > S K Pradeep kumar > |
Free forum by Nabble | Edit this page |