This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: DTD


As you are new to XML, my advice is to learn two basic concepts:
1) Well-formed
2) Valid

A well-formed document has no errors in tag matching or attribute quoting,
or other such tidiness issues.

A valid document is a well-formed document which also conforms to a specified
DTD.

Your browser is checking well-formedness, but not validity.
-- 
Charles Knell
cknell@onebox.com - email


---- Jarno.Elovirta@nokia.com wrote:
> Hi,
> 
> > I am new to XML. While trying out a DTD validation, i gave a 
> > tag which is not specified in the DTD...Why is the error not 
> > shown in the browser? But when a tag is not closed the error 
> > gets shown in the browser...why is the validation error not shown..
> 
> Answer to your off-topic question is probably: because your browser
> isn't validating the document.
> 
> J
> 
>  XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list
> 
>  

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]