xml namespaces - XML castor ns-uri question -


i have xml / soap project.

there everywhere called ns-uri / namespace uri.

for example here:

<class name="org.webmedia.test.pojo.city">        <map-to xml="addcityrequest" ns-uri="http://krams915.blogspot.com/ws/schema/oss"/>         <field name="id" type="integer">           <bind-xml name="id" node="element"/>        </field>         <field name="name" type="string">           <bind-xml name="name" node="element"/>        </field> </class> 

what for? can change it? can remove it? leads dead website

the ns-uri refers xml namespace uri. without it, castor's binding won't work properly.

yes, can change (but has match namespace uri of target xml), , yes can remove (but generate/parse wrong xml). fact it's dead url doesn't matter - namespace uris string identifiers look urls, don't have go anywhere.


Comments