Note that there are some explanatory texts on larger screens.

plurals
  1. POProblems with the XML format
    primarykey
    data
    text
    <p>I'm creating a wesite which communicates with the server through xml's. In my localhost everything works perfectly fine. Although when upload my website to the server instead of this xml format:</p> <pre><code>&lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt; &lt;quser xmlns="http://www..." xmlns:atom="http://www.w3.org/2005/atom"&gt; &lt;username&gt;name&lt;/username&gt; &lt;/quser&gt; </code></pre> <p>I;m taking this one:</p> <pre><code> &lt;?xml version="1.0" encoding="UTF-8" standalone="yes"?&gt; &lt; :quser xmlns: ="http://www2...." xmlns:atom="http://www.w3.org/2005/atom"&gt; &lt; :username&gt;readered&lt;/ :username&gt; &lt;:quser&gt; </code></pre> <p>I declare in my model the following package-info.class</p> <pre><code>@javax.xml.bind.annotation.XmlSchema ( namespace="http://www..", elementFormDefault=XmlNsForm.QUALIFIED, xmlns = { @javax.xml.bind.annotation.XmlNs( prefix=" ", namespaceURI="http://www.."), @javax.xml.bind.annotation.XmlNs( prefix="atom" ,namespaceURI="http://www.w3.org/2005/atom") } ) package model; import javax.xml.bind.annotation.*; </code></pre> <p>As i told you in my localhost is working perfectly fine but in the server even if i change the prefix(just for testing i set it prefix="xs") doesn't adopt the changes. Only in my localhost adopt it. Its very wired if you think that the changes i made in my loclhost,when i debug and upload the code on the server should contain them.</p> <p>Moreover, i realise that i forgot some JAXB libraries into the WEB-INF. Just for testing i insert my libs and into the main program library. Then i took and in my localhost the same xml format as in the server. So i decide to delete these libraries from both places. After this in my localhost everything works again but in the server not. Please if anyone face or knows something regard to this issue to give me some instructions.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload