/flyboy/:
Seems to me, that this should pass schema validation, where
xmlns:xi=''http://www.w3.org/2001/XInclude"
<xi:include xi:href="some.xml"/>
Instead, xerces-j 2.9.0 schema validation gives:
'xpointer attribute must be present when href attribute is absent.'
This passes schema validation, but its not valid against the xinclude
schema.
<xi:include href="some.xml"/>
I haven't come to use XInclude myself but as far as I see from the
spec [1] the above behavior is correct, i.e. the 'href' attribute on
an <xi:include> element has no namespace. Ususally namespace
qualified attributes are defined so they could appear on number or
any element types, while no namespace attributes are specific to the
element type they are defined on.
[1] http://www.w3.org/TR/xinclude/#syntax
--
Stanimir
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]