Thread: how do I use the W3C validator on a DTD file?

  1. #1
    Registered User
    Join Date
    Apr 2010
    Location
    Vancouver
    Posts
    132

    how do I use the W3C validator on a DTD file?

    I have a xml file which includes (what's the word to use here?) an external DTD file. How do I use the W3C Markup Validation Service when only 1 file can be uploaded? I tried both and it says "Sorry! This document can not be checked."

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    That validator is probably not the one you want to use. Use this: XML Schema (REC (20010502) version, as amended) Checking Service... although, if you don't use anything from W3 at all, I'm not sure why a validator would help.
    Last edited by whiteflags; 06-04-2011 at 03:06 AM.

  3. #3
    Jack of many languages Dino's Avatar
    Join Date
    Nov 2007
    Location
    Chappell Hill, Texas
    Posts
    2,332
    A DTD can be embedded in an XML document too - it doesn't have to be external.
    Mainframe assembler programmer by trade. C coder when I can.

  4. #4
    Registered User
    Join Date
    Apr 2010
    Location
    Vancouver
    Posts
    132
    Ok thanks got it working.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-08-2010, 02:43 PM
  2. HTML tags validator
    By Terrorist in forum C Programming
    Replies: 24
    Last Post: 05-09-2008, 02:14 AM
  3. Replies: 4
    Last Post: 07-06-2006, 02:53 AM
  4. Replies: 12
    Last Post: 03-10-2005, 07:48 PM
  5. RegEx Validator
    By regex in forum C# Programming
    Replies: 0
    Last Post: 10-02-2002, 06:46 PM