[prev in list] [next in list] [prev in thread] [next in thread]
List: xerces-j-dev
Subject: Re: Xerces-J 2.12.0 vs. Saxon: XSD 1.1 CTA validation errors
From: Mukul Gandhi <mukulg () apache ! org>
Date: 2018-08-08 6:19:19
Message-ID: CABuuzNMwtGv8e6h+O+jc6CiO52=6xgAh+mLqjJvp-UDaLi57HQ () mail ! gmail ! com
[Download RAW message or body]
On Tue, Aug 7, 2018 at 9:15 PM, ykhabins <yitzhak.khabinsky@millicom.com>
wrote:
> Finally, I narrowed it down...
> There are 2 scenarios:
>
> 1. XSD file is specified inside the XML file via xsi:schemaLocation
> attribute.
> The -fx parameter is ignored. And it causes CTAs to fail to pick up
> the full XPath 2.0
> 2. XSD file is specified via command line parameter *"-a"*.
> The -fx parameter is taken into the account.
> CTAs pick up the full XPath 2.0
>
> It is a bug.
>
I agree. You might report this bug for the jaxp.SourceValidator, at
Xerces-J's Jira site.
also, jaxp.SourceValidator is just a sample. You might try writing a Java
component from scratch using XSD 1.1 support available in Xerces, using
JAXP API for XSD 1.1 validation. That should work I believe, for your
scenario.
--
Regards,
Mukul Gandhi
[Attachment #3 (text/html)]
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Aug 7, 2018 \
at 9:15 PM, ykhabins <span dir="ltr"><<a \
href="mailto:yitzhak.khabinsky@millicom.com" \
target="_blank">yitzhak.khabinsky@millicom.com</a>></span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid \
rgb(204,204,204);padding-left:1ex"><p>Finally, I narrowed it down...</p>
There are 2 scenarios:
<ol>
<li>XSD file is specified inside the XML file via xsi:schemaLocation attribute.<br>
The -fx parameter is ignored. And it causes CTAs to fail to pick up the full XPath \
2.0 </li>
<li>XSD file is specified via command line parameter <b>"-a"</b>.<br>
The -fx parameter is taken into the account.<br>
CTAs pick up the full XPath 2.0
</li>
</ol>
<p>It is a bug.</p></blockquote><div> I agree. You might report this bug for the \
jaxp.SourceValidator, at Xerces-J's Jira site.</div><div><br></div><div>also, \
jaxp.SourceValidator is just a sample. You might try writing a Java component from \
scratch using XSD 1.1 support available in Xerces, using JAXP API for XSD 1.1 \
validation. That should work I believe, for your \
scenario.</div><div><br></div></div><br><br clear="all"><div><br></div>-- <br><div \
class="gmail_signature">Regards,<br>Mukul Gandhi</div> </div></div>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic