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

This is a discussion on how do I use the W3C validator on a DTD file? within the Tech Board forums, part of the Community Boards category; I have a xml file which includes (what's the word to use here?) an external DTD file. How do I ...

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

    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
    Registered User whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    7,667
    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
    Katy, Texas
    Posts
    2,309
    A DTD can be embedded in an XML document too - it doesn't have to be external.
    Mac and Windows cross platform programmer. Ruby lover.

    Quote of the Day
    12/20: Mario F.:I never was, am not, and never will be, one to shut up in the face of something I think is fundamentally wrong.

    Amen brother!

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

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 3
    Last Post: 03-08-2010, 01: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, 06:48 PM
  5. RegEx Validator
    By regex in forum C# Programming
    Replies: 0
    Last Post: 10-02-2002, 06:46 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21