[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xerces-c-dev
Subject:    [jira] Created: (XERCESC-1584) keyref with imported schema are not
From:       "S. Dunand (JIRA)" <xerces-c-dev () xml ! apache ! org>
Date:       2006-03-27 13:24:20
Message-ID: 1894935270.1143465860289.JavaMail.jira () ajax
[Download RAW message or body]

keyref with imported schema are not processing correctly
--------------------------------------------------------

         Key: XERCESC-1584
         URL: http://issues.apache.org/jira/browse/XERCESC-1584
     Project: Xerces-C++
        Type: Bug
  Components: SAX/SAX2  
    Versions: 2.7.0    
 Environment: windows
    Reporter: S. Dunand


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.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic