if ((n instanceof Attr)
&& ("xmlns".equals(n.getPrefix())
|| "http://www.w3.org/2001/XMLSchema-instance".equals(n.getNamespaceURI())))
continue;
----- Original Message ----- From: "Stanimir Stamenkov" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 19, 2005 8:36 AM
Subject: Re: Nodes not represented by schema
/Dave Brosius/:
There are a few nodes that are never represented in a schema definition,
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
and
xsi:noNamespaceSchemaLocation="foo.xsd"
are two that come to mind.
The question is, how do we humans know this? Did we memorize some list of nodes, or did we learn
some rule to apply?
I guess we memorize them:
"3.2.7 Built-in Attribute Declarations" <http://www.w3.org/TR/xmlschema-1/#d0e3067>:
There are four attribute declarations present in every schema by definition:
Attribute Declaration for the 'type' attribute ... Attribute Declaration for the 'nil' attribute ... Attribute Declaration for the 'schemaLocation' attribute ... Attribute Declaration for the 'noNamespaceSchemaLocation' attribute ...
-- Stanimir
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]