how to change the path of xsi:noNamespaceSchemaLocation

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

how to change the path of xsi:noNamespaceSchemaLocation

skpradeepkumar
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
Reply | Threaded
Open this post in threaded view
|

Re: how to change the path of xsi:noNamespaceSchemaLocation

BJ Freeman
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.

Reply | Threaded
Open this post in threaded view
|

RE: how to change the path of xsi:noNamespaceSchemaLocation

bsanders1979
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
Reply | Threaded
Open this post in threaded view
|

Re: how to change the path of xsi:noNamespaceSchemaLocation

Jacques Le Roux
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
>