[...]I use the following code to initialize my XercesDOMParser to parse the >xml and perform Schema Validation but it doesn't perform the validation.
>My XML files processing instructions and attributes are:
>
>XML:
><?xml version="1.0" encoding="UTF-8"?>
><!--comment out DOCTYPE for castor jaxb binding-->
><!DOCTYPE event_sim_input SYSTEM "event_sim_input.dtd">
><event_sim_input version="1.0"
>xmlns:xsi='http://sdsc.geongrid.org/components/application/synseis/e3dinp utxml/xmlschema'
> xsi:noNamespaceSchemaLocation='event_sim_input.xsd'>
You should have these attributes, instead of the ones you wrote
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:namespaceSchemaLocation="http://sdsc.geongrid.org/components/application/synseis/e3dinputxml/xmlschema event_sim_input.xsd"
Alberto
>
>XSD:
><?xml version="1.0" encoding="UTF-8"?>
><xs:schema
> xmlns:xs="http://www.w3.org/2001/XMLSchema"
> xml:lang="EN"
> elementFormDefault="qualified"
> attributeFormDefault="qualified"
>targetNamespace="http://sdsc.geongrid.org/components/application/synseis/ e3dinputxml/xmlschema"
>
>xmlns:myns="http://sdsc.geongrid.org/components/application/synseis/e3din putxml/xmlschema">
>
>
>Any suggestions?
>
>Thanks
--------------------------------------------------------------------- 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]