ault="qualified" attributeFormDefault="unqualified">
>http://www.w3.org/2000/09/xmldsig#";
> schemaLocation="xmldsig-core-schema_v1.01.xsd"/>
>
>
> ...
>
> tiposBasico_v1.00.xsd:
>
> http://www.w3.org/2001/XMLSchema";
>
Hi Fabio,
You aren't setting namespace awareness to true on the
DocumentBuilderFactory. Both schema validation and XInclude require
namespace support. Assuming your schema actually contains an element
declaration for "NFe", I imagine setting namespace awareness would make it
work.
Note that y
Hi,
I'm trying to validate a xml using a schema with include but I get this
error:
org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of
element 'NFe'.
at
com.sun.org.apache.xerces.internal.jaxp.validation.Util.toSAXParseExcept
ion(Unknown Source)
at
com.sun.or