Project

General

Profile

« Previous | Next » 

Revision 826

Added by bojilova over 22 years ago

changes to store namespace prefixes separately from the local names of nodes (elements and attributes)
in xml_nodes.nodeprefix column

View differences:

DBSAXHandler.java
158 158
                            String qName, Attributes atts) 
159 159
               throws SAXException {
160 160
     MetaCatUtil.debugMessage("Start ELEMENT " + qName);
161
System.out.println("Start ELEMENT " + uri);
162
System.out.println("Start ELEMENT " + qName);
163
System.out.println("Start ELEMENT " + localName);
161 164
 
162 165
     DBSAXNode parentNode = null;
163 166
     DBSAXNode currentNode = null;
......
208 211
     }      
209 212

  
210 213
     // Create the current node representation
211
     currentNode = new DBSAXNode(conn, qName, parentNode,
214
     currentNode = new DBSAXNode(conn, qName, localName, parentNode,
212 215
                                 currentDocument.getRootNodeID(),docid,
213 216
                                 currentDocument.getDoctype());
214 217
                               

Also available in: Unified diff