You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by "Dominik Holler (JIRA)" <xe...@xml.apache.org> on 2008/04/10 10:00:07 UTC

[jira] Created: (XERCESJ-1302) xerces does not validate a valid xml file against schema

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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Closed: (XERCESJ-1302) xerces does not validate a valid xml file against schema

Posted by "Dominik Holler (JIRA)" <xe...@xml.apache.org>.
     [ https://issues.apache.org/jira/browse/XERCESJ-1302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dominik Holler closed XERCESJ-1302.
-----------------------------------

    Resolution: Invalid

sorry, I didn't thought that this behaviour is correct

> 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org


[jira] Commented: (XERCESJ-1302) xerces does not validate a valid xml file against schema

Posted by "Michael Glavassevich (JIRA)" <xe...@xml.apache.org>.
    [ 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: j-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: j-dev-help@xerces.apache.org