You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@xalan.apache.org by sb...@apache.org on 2001/05/28 08:22:15 UTC

cvs commit: xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm SAX2DTM.java

sboag       01/05/27 23:22:15

  Modified:    java/src/org/apache/xml/dtm/ref/sax2dtm Tag: DTM_EXP
                        SAX2DTM.java
  Log:
  Set the dtm identity bits on the way to getShouldStripSpace.
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.1.2.3   +2 -1      xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/Attic/SAX2DTM.java
  
  Index: SAX2DTM.java
  ===================================================================
  RCS file: /home/cvs/xml-xalan/java/src/org/apache/xml/dtm/ref/sax2dtm/Attic/SAX2DTM.java,v
  retrieving revision 1.1.2.2
  retrieving revision 1.1.2.3
  diff -u -r1.1.2.2 -r1.1.2.3
  --- SAX2DTM.java	2001/05/28 04:07:34	1.1.2.2
  +++ SAX2DTM.java	2001/05/28 06:22:15	1.1.2.3
  @@ -1641,6 +1641,7 @@
                         ? m_valuesOrPrefixes.stringToIndex(qName) : 0;
       int elemNode = addNode(DTM.ELEMENT_NODE, exName, m_levelAmount,
                              m_parents.peek(), m_previous, prefixIndex, true);
  +
       indexNode(exName, elemNode);
       
       m_levelAmount++;
  @@ -1722,7 +1723,7 @@
   
       if (null != m_wsfilter)
       {
  -      short wsv = m_wsfilter.getShouldStripSpace(elemNode);
  +      short wsv = m_wsfilter.getShouldStripSpace(elemNode | m_dtmIdent);
         boolean shouldStrip = (DTMWSFilter.INHERIT == wsv)
                               ? getShouldStripWhitespace()
                               : (DTMWSFilter.STRIP == wsv);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org