Jump to content

Search the Community

Showing results for tags 'xmlerrors'.

  • 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

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. Hi everyone, I'm a beginner in XML and I'm still learning the basics. I need to find how many errors are in the following XML document: <?xml version="1.0" encoding="ISO-8859-1" standalone="yes"?> <!DOCTYPE université [ <!ELEMENT université (faculté*,description*)*> <!ELEMENT faculté (département*)> <!ELEMENT département EMPTY> <!ATTLIST département nom CDATA #REQUIRED xmlnote (vide|plein) "plein"> <!ATTLIST université téléphone ID #REQUIRED> ]> <université téléphone="514-4321" xml:lang="fr"> <description>La plus grande.</description> <faculté nom="sciences"> <département nom="mathématiques"></département> <département nom="sociologie" xmlnote="vide"/> </faculté> </université> Eclipse flagged the following errors: Attribute "nom" must be declared for element type "faculté". (line 7)Attribute "xml:lang" must be declared for element type "université". (line 6) Attribute value "514-4321" of type ID must be a name. (line 6) Could someone kindly explain those errors and what I did wrong? Is it possible that more errors than the ones Eclipse flagged are in the file? What validation tools do you guys use? Thank you very much in advance!
×
×
  • Create New...