Changeset 1112:0ff467fc2860

Show
Ignore:
Timestamp:
06/01/10 16:15:41 (3 years ago)
Author:
Tom
Branch:
default
Message:

context is now a mixed value

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • src/org/w3c/unicorn/response/impl/DefaultContextXBeans.java

    r1049 r1112  
    3737                opts.setSaveCDataLengthThreshold(10000000); 
    3838                opts.setSaveCDataEntityCountThreshold(-1); 
    39                  
    40                 value = context.xmlText(opts).replaceAll("</?xml-fragment[^>]*>", ""); 
     39                opts.setUseDefaultNamespace(); 
     40                value = context.xmlText(opts).replaceAll("[ ]*xmlns=\"[^>]*\"", "").replaceAll("</?xml-fragment[^>]*>", ""); 
    4141        } 
    4242         
     
    7070         
    7171        public String getContext() { 
    72                 //Framework.logger.error(value); 
    7372                return value; 
    7473        }