[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] RE: Why associate an attribute with a namespace ?
> -----Original Message----- > From: mihaiu@m... [mailto:mihaiu@m...] > Sent: Wednesday, February 16, 2005 2:15 PM > To: Michael Kay > Cc: xml-dev@l... > Subject: Re: Why associate an attribute with a namespace ? > > >Sure. Prefix your attribute names with an underscore and they are > >guaranteed to be different from attribute names invented by > anyone else. > > > > I have no intention to define new attributes. That is obvious > from my post. > > I often found that a lot of people get upset when they have > to explain their point of view. Have you learn by heart your > explanations and you can only blindly repeat what you've been > told ? I asked about the rationale behind the decision to > allow namespaces for attributes. > > For your described case (special attributes) you need merely > syntax changes and not namespaces. Are namespaces just syntax ? So if I see _type in a document how do I know whether it is xsi:type, xlink:type or daresfunkysemantics:type? If you are going to attempt to argue on this list about XML and namespaces it would behoove you to understand the problem space first before criticizing existing solutions. -- PITHY WORDS OF WISDOM No matter how long or how hard you shop for an item, after you've bought it, it will be on sale somewhere cheaper. This posting is provided "AS IS" with no warranties, and confers no rights.
|
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|