[
https://issues.apache.org/jira/browse/XERCESJ-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12587836#action_12587836
]
Michael Glavassevich commented on XERCESJ-1302:
-----------------------------------------------
On the Xerces-C issue you wrote:
> xsi:schemaLocation="http://www.asam.net/xml/fbx/flexray fibex4flexray.xsd
> http://www.asam.net/xml/fbx fibex.xsd"
>
> sax.Counter of xerces-j validates the xml now successful:
> FlexRay_Cluster_Example.xml: 1060 ms (961 elems, 369 attrs, 0 spaces, 19497
> chars)
What exactly is the problem here? Your original document didn't specify a
schema location for the namespace "http://www.asam.net/xml/fbx/flexray" used in
the document. For performance reasons Xerces (and likely a few other
processors) will only dereference a schema location if the target namespace is
used. MSXML is probably aggressively loading everything it sees whether it's
used or not. The schema spec is flexible and allows either behaviour.
> xerces does not validate a valid xml file against schema
> --------------------------------------------------------
>
> Key: XERCESJ-1302
> URL: https://issues.apache.org/jira/browse/XERCESJ-1302
> Project: Xerces2-J
> Issue Type: Bug
> Affects Versions: 2.9.1
> Environment: WinXP 32 bit,
> java version "1.6.0_05"
> Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
> Java HotSpot(TM) Client VM (build 10.0-b19, mixed mode, sharing)
> Reporter: Dominik Holler
> Priority: Minor
>
> see https://issues.apache.org/jira/browse/XERCESC-1792
> I just want to advert to the bug in xerces-j
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]