| XML Schema tutorial, Xerces-J 1.0.1 released
- Roger Costello has produced an XML Schema
tutorial which
is based on the latest drafts of the XML Schema
specifications. In his announcement
he credits the input of
the XML-DEV community.
- The Apache XML
Project have released version 1.0.1 of their Xerces Java
parser.
The Xerces-J release is available in both source
and binary
distributions from the project download page.
Re: XML Schema tutorial, Xerces-J 1.0.1 released (akacem mohammed - 07:31, 26 Aug 2002) Hello,
please bear with me if it's a bit long.I have tried the validate example. und it seems the Schema I want to validate against is not found. as parameter I gave :
"c:\stea00002.xml" "http://127.0.0.1:80/Schema stea-neu.xsd" (in Jbuilder) where stea-neu.xsd is my schema.
I get the following error for each tag in my file:
C:\moh>java validate "c:\stea00002.xml" "file://c:\moh\ stea-neu.xsd"
[Error] stea00002.xml:2:17: cvc-elt.1: Cannot find the declaration of element 'Stellenangebot'.
and hier is my file:
<?xml version="1.0" encoding="ISO-8859-1"?>
<Stellenangebot>
<ErfassungsDatum>21.08.2002</ErfassungsDatum>
<Dienststelle>12345</Dienststelle>
<Betriebsnummer>12345678</Betriebsnummer>
<Betriebsname>Meier Bauelemente GmbH</Betriebsname>
<Betriebsart>Handelsgesellschaft</Betriebsart>
<StrasseHnr>Berliner Strasse 65</StrasseHnr>
<Plz>12569</Plz>
<Ort>Berlin</Ort>
<APAnrede>123456789999</APAnrede>
<APName>Heinz Müller</APName>
<Telefon Vorwahl="030" Nummer="789669"/>
<Email>Heinz-Muelle@t-online.de</Email>
<StellenBeschreibung>Wir suchen einen fleißigen Mitarbeiter aus dem Raum Berlon oder Umgebung, der gern bei uns arbeiten möchte.</StellenBeschreibung>
<Besonderheiten>bis 30 Jahre</Besonderheiten>
<Stellenzahl>1</Stellenzahl>
<BefristungKennzeichen>Dauer</BefristungKennzeichen>
<ZuBesetzenAb>19.08.2002</ZuBesetzenAb>
<Vollzeit>Vollzeit</Vollzeit>
<LohnGehalt>0,00</LohnGehalt>
<Bewerbung>schriftlich</Bewerbung>
<Veroeffentlichung>ja</Veroeffentlichung>
<notag> notag </notag>
</Stellenangebot>
thanks for any help
Mohammed
|