Next in thread → Next in month →

Re: [xml-dev] Is there any legitimate case for processing based on a specific namespace prefix?

From
Michael Kay <>
To
Date
2012-08-28T22:21:34Z
ID
<>
Thread
Re: [xml-dev] Is there any legitimate case for processing based on a specific namespace prefix?
>Is there ever a time when it is okay to create an XML application that 
checks for a specific prefix,

Checking for a prefix on incoming XML: I would say no. But when 
generating XML, there are two factors to bear in mind:

(a) if the XML is to be human-readable, using familiar prefixes is very 
helpful

(b) some vocabularies use DTDs for validation, and DTDs may only work 
with a specific prefix.

Michael Kay
Saxonica
Next in thread → Next in month →