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

Re: XHTML 2 Working Group won't be renewed?

  • From: Michael Ludwig <mlu@as-guides.com>
  • To: XML Developers List <xml-dev@lists.xml.org>
  • Date: Thu, 09 Jul 2009 15:07:38 +0200

Re:  XHTML 2 Working Group won't be renewed?
Michael Kay schrieb:
>> So who's aware of the obscure namespace issue should be aware of the
>> DTD feature of supplementing the document with default values. It's
>> like assuming as a given a child's ability to ride a bicycle but not
>> assuming it can walk.
>
> I disagree. It's possible to have a DTD ignored

With an explicit <?xml version="1.0" standalone="yes"?>.

Or by telling it to ignore the DTD by doing setLoadExternalDTD(false).

> or substituted by a different DTD by invoking the parser in a
> different way. That shouldn't cause names to be in a different
> namespace, but it does.

But then, what about parser.setDoNamespaces(false) ?

> We often see problems where people show us an XML instance and an
> XPath expression that fails to find elements in the instance, and it
> turns out that there's a sneaky namespace declaration in the DTD

I'd rather call it unobtrusive (but I'm not 100 % sure this is still
bona fide).

After some testing, I think I'd rather concede that setting the
namespace via the DTD is not necessarily to be universally recommended
as parsers vary considerably as to their default settings, and I admit
I've had problems because I didn't configure the parser appropriately.

Michael Ludwig


[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.