Witaj Gościu! ( Zaloguj | Rejestruj )

Forum PHP.pl

 
Reply to this topicStart new topic
> [XMLS Schema]Problem z walidacją, blędy
iasie
post 29.11.2010, 15:44:44
Post #1





Grupa: Zarejestrowani
Postów: 1
Pomógł: 0
Dołączył: 29.11.2010

Ostrzeżenie: (0%)
-----


Witam!
jestem w tym całkowicie nowy, a muszę to zrobić na projekt.
Zrobiłem XML, XSD i DTD, ale w walidatorze wyskakują następujące błędy:
Kod
Validation     7, 28    cvc-complex-type.2.4.a: Invalid content was found starting with element 'numer'. One of '{nazwa}' is expected.
Validation     11, 12    cvc-complex-type.2.4.a: Invalid content was found starting with element 'nazwa'. One of '{imie}' is expected.
Validation     84, 18    cvc-complex-type.2.4.a: Invalid content was found starting with element 'zdjecie'. One of '{zdjecia}' is expected.
Validation     92, 18    cvc-complex-type.2.4.a: Invalid content was found starting with element 'zdjecie'. One of '{zdjecia}' is expected.
Validation     96, 18    cvc-complex-type.2.4.a: Invalid content was found starting with element 'zdjecie'. One of '{zdjecia}' is expected.
Validation     104, 18    cvc-complex-type.2.4.a: Invalid content was found starting with element 'zdjecie'. One of '{zdjecia}' is expected.


plik XM[
Kod
http://wklej.to/2bqW

PLIK XSD
Kod
http://wklej.to/Kv5a

PLIK DTD
Kod
http://wklej.to/PxAJ

Proszę o pomoc! :<
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 Użytkowników czyta ten temat (1 Gości i 0 Anonimowych użytkowników)
0 Zarejestrowanych:

 



RSS Wersja Lo-Fi Aktualny czas: 13.06.2025 - 02:44