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

Re: a namespace definitions related question(s)

  • From: "Pete Cordell" <petexmldev@t...>
  • To: "Shlomo Yona" <S.Yona@F...>
  • Date: Tue, 20 Feb 2007 10:10:40 -0000

Re:  a namespace definitions related question(s)
Original Message From: "Shlomo Yona" <S.Yona@F...>

> In the XML instance that I posted:
> * is the document well formed?

No - because in your example the end tag name does not match the start tag 
name.  I think in one of the earlier XML versions it says that the end tag 
name must 'echo' the start tag name which I think is clearer in what the 
intent it.

> Should XML processors be XML-Namespace aware?

They needn't be, but it's good if they are.

> Say I have a schema, is the well-formedness dependent upon the schema??

No - well formedness is purley an XML issue about whether start tags are 
matched by end tags, attributes have the right quotation marks and so on.

A schema will help determine whether a particular (well-formed) XML instance 
is 'valid' against that schema.

> What I'm asking is whether or not an XML parser should be namespace
> aware, and whether or not its capabilities should depend (and how) on a
> schema.

It is possible to define XML schemas that specify XML documents that don't 
use namespaces.  In that case the XML processor needn't be namespace aware. 
Although it's unlikely that you'll find a schema aware validating XML 
processor that is not namespace aware.

HTH,

Pete.
=============================================
Pete Cordell
Tech-Know-Ware Ltd
for XML to C++ data binding visit
http://www.tech-know-ware.com/lmx
(or http://www.xml2cpp.com)
=============================================




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index]


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.