Normal
Also wenn ich das XML mir generien lassen will : xjc -d src seasons.xml bekomme ich folgenden Fehler :[CODE=java][ERROR] s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '766158250'.[/CODE]DAs ist der Inhalt der Datei :[CODE]<?xml version="1.0" encoding="UTF-8"?><seasons xmlns="http://sams-server.de/api/xml/ns/seasons" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sams-server.de/api/xml/ns/seasons seasons.xsd"><season><id>766158250</id><name>2023/24</name><begin>2023-07-01</begin><end>2024-06-30</end></season> </seasons>[/CODE]
Also wenn ich das XML mir generien lassen will : xjc -d src seasons.xml bekomme ich folgenden Fehler :
[CODE=java][ERROR] s4s-elt-character: Non-whitespace characters are not allowed in schema elements other than 'xs:appinfo' and 'xs:documentation'. Saw '766158250'.[/CODE]
DAs ist der Inhalt der Datei :
[CODE]<?xml version="1.0" encoding="UTF-8"?>
<seasons xmlns="http://sams-server.de/api/xml/ns/seasons" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://sams-server.de/api/xml/ns/seasons seasons.xsd">
<season>
<id>766158250</id>
<name>2023/24</name>
<begin>2023-07-01</begin>
<end>2024-06-30</end>
</season>
</seasons>[/CODE]