[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

SV: What constitutes an XML document?

  • To: "Paul Jupp" <jupppaul@h...>,<xml-dev@l...>
  • Subject: SV: What constitutes an XML document?
  • From: "Jens Jakob Andersen, PDI" <jens.jakob.andersen@p...>
  • Date: Mon, 12 Nov 2001 12:33:17 +0100
  • Thread-index: AcFradO6duiF7l27R+au9em5Xj3yewAA5hyg
  • Thread-topic: What constitutes an XML document?

wellformed xml
Hi Paul

This is an interesting question.

A XML document can have 2 formal states:

1. Wellformed
2. Valid

The Wellformed document is what you describe below, and the Valid
document needs a DTD.

So I say that the answer is, a Wellformed document is a syntactically
correct XML document according to the XML spec, and if you have such a
one, you have a XML document (Wellformed, not Valid).

Best regards

JJ

> If I am asked to produce an XML document and I come up with 
> something that 
> LOOKS like XML markup - syntactically correct tags, attributes, etc.
> 
> BUT
> 
> I do not supply a DTD or a schema, and I refuse to supply a 
> DTD or a schema 
> (because I have actually created the document without 
> designing/creating a 
> DTD or a schema)
> 
> THEN
> 
> I understand that the document cannot be validated - but what 
> I need to know 
> is: Is what I have produced actually XML at all, or is it 
> just a document 
> formatted to look like XML?
> 

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
 

Stylus Studio has published XML-DEV in RSS and ATOM formats, enabling users to easily subcribe to the list from their preferred news reader application.


Stylus Studio Sponsored Links are added links designed to provide related and additional information to the visitors of this website. they were not included by the author in the initial post. To view the content without the Sponsor Links please click here.

Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery ™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2013 All Rights Reserved.