[Home] [By Thread] [By Date] [Recent Entries]

  • From: Aad Kamsteeg <a.kamsteeg@d...>
  • To: XML Developers List <xml-dev@l...>
  • Date: Thu, 9 Jul 2009 17:29:59 +0200

working the detail
defining real life rulings
operate smoothly

With kind regards,
Aad Kamsteeg

Diderot Track 
Understanding Information = Applying Knowledge

email: info@d...
web: http://www.diderottrack.nl/en/business/home.en.xml">http://www.diderottrack.nl [en]







On 9Jul, 2009, at 16:28 PM, Dylan Thomas wrote:

what the [expletive deleted] are you lot on about? who gives a fuckin [expletive deleted], get a life

On Thu, Jul 9, 2009 at 2:07 PM, Michael Ludwig<mlu@a...> wrote:
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

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS
to support XML implementation and development. To minimize
spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/
Or unsubscribe: xml-dev-unsubscribe@l...
subscribe: xml-dev-subscribe@l...
List archive: http://lists.xml.org/archives/xml-dev/
List Guidelines: http://www.oasis-open.org/maillists/guidelines.php



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


Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member