Jump to content

Search the Community

Showing results for tags 'xml error extracontent'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Calendars

  • Community Calendar

Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Hi everybody i have a problem i can't resolve, i tried to define a db-schema in xml.dtd, <!DOCTYPE spect-DB [<!ELEMENT spect-DB (spettacoli*)> <!ELEMENT spettacoli (conduttore+, programmazione+)> <!ELEMENT conduttore EMPTY> <!ELEMENT programmazione (giorno+)> <!ELEMENT giorno (ospite+)> <!ELEMENT ospite EMPTY> <!ATTLIST spettacoli titolo CDATA #REQUIRED> <!ATTLIST spettacoli edizione CDATA #REQUIRED> <!ATTLIST spettacoli durata CDATA #IMPLIED> <!ATTLIST conduttore nome CDATA #REQUIRED> <!ATTLIST conduttore costo CDATA #IMPLIED> <!ATTLIST conduttore contatto_agente CDATA #IMPLIED> <!ATTLIST giorno data CDATA #REQUIRED><!ATTLIST giorno speciale (0|1) '0'> <!ATTLIST ospite nome CDATA #REQUIRED> <!ATTLIST ospite ruolo CDATA #IMPLIED>]> i try to validate the code with the w3c validator but i get this error: extra content at the end of file, i cannot understand where is the problem, can you help me? ty anyway here is the other file of my xml <?xml version="1.0"?><!DOCTYPE spetc-DB SYSTEM "spectDB.dtd"> <spetc-DB> <!spettacoli titolo=”Servizio Pubblico” edizione=”2011/2012” durata=”3”> <conduttore nome=”Michele Santoro” costo=”950000,00”/> <programmazione> <giorno data=”23/02/2012” special=”0”> <ospite nome=”Adriano Celentano” /> </giorno> <giorno data=”01/03/2012”> <ospite nome=”Pier Luigi Bersani” ruolo=”ospite_politico”/> <ospite nome”Maurizio Belpietro” ruolo=”giornalista”/> </giorno> </programmazione> </spettacoli> </spetc-DB> thanks
×