[ 
https://issues.apache.org/jira/browse/XERCESC-1583?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alberto Massari resolved XERCESC-1583.
--------------------------------------

       Resolution: Fixed
    Fix Version/s: 3.1.0
         Assignee: Alberto Massari

> keyref are not processing with imported schema
> ----------------------------------------------
>
>                 Key: XERCESC-1583
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1583
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: SAX/SAX2
>    Affects Versions: 2.7.0
>         Environment: windows XP
>            Reporter: S. Dunand
>            Assignee: Alberto Massari
>             Fix For: 3.1.0
>
>
> When schema A import schema B with keyref, the keyref of schema A are not 
> processing correctly. The problem is in TraverseSchema::processElemDeclIC at 
> line fIC_ElementsNS->containsKey(fTargetNSURIString). In this case, 
> fIC_ElementsNS is allocated (by imported schema process) but doesn't contain 
> fTargetNSURIString. The nodes are added in B namespace. 
> I try this code with success : 
>         if (fIC_ElementsNS->containsKey(fTargetNSURIString)) {
>             fIC_Elements = fIC_ElementsNS->get(fTargetNSURIString);
>             fIC_NamespaceDepth = 
> fIC_NamespaceDepthNS->get(fTargetNSURIString);
>         }
>         else
>             fIC_Elements = NULL;

-- 
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]

Reply via email to