OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.


Help: OASIS Mailing Lists Help | MarkMail Help

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are namespace declarations 'counted' as attributes?

Two other points:

1) The two "real" attributes are entity1 and targetNamespace.

2) The answer to the question, "Are namespace declarations treated as
attributes?" depends on what technology you are using. As Rob pointed
out, the answer for SAX2 is yes or no, depending on how you configure
the parser, For SAX1 and DOM level 2 it is always yes. For the info set
it is no. I don't know what it is for XSLT, but I'll bet it is yes. I'm
pretty sure it is no for XML Schemas, but I can't remember.

Ronald Bourret
Programming, Writing, and Training
XML, Databases, and Schemas