The Xinclude faq (http://xml.apache.org/xerces2-j/faq-xinclude.html)
says to allow xml:base attributes to appear on elements that might be
included from different base URIs.

I've tried and get the following error when I run `java sax.Counter -s
entity-inc.xml' (note that entity-inc.xml has been pre-processed with
XIncluder)

[Error] entity.xsd:28:52: s4s-att-invalid-value: Invalid attribute
value for 'name' in element 'attribute'. Recorded reason:
cvc-datatype-valid.1.2.1: 'xml:base' is not a valid value for
'NCName'.

Why is 'xml:base' an invalid name for an attribute?


My xml:base attribute in entity.xsd is

  <xs:attribute name="xml:base" type="xs:anyURI" />


Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to