Hi,

On the Xerces features page it says:

SAX Features            
                        

http://xml.org/sax/features/namespace-prefixes
True:   Report the original prefixed names and attributes used for Namespace
declarations.   
False:  Do not report attributes used for Namespace declarations, and
optionally do not report original prefixed names.       
Default:        true    
Access:         (parsing) read-only; (not parsing) read/write   


--> I'm thinking this should be default=false?


--> I'm confused regarding the note on expansion below on the Features Page.
--> Does it not _only_ apply when the default Xerces node is used?


http://apache.org/xml/features/dom/defer-node-expansion

True:   Lazy DOM node expansion.   
False:   Full DOM node expansion.   
Default:   true   
Note:   This feature only applies when the
http://apache.org/xml/properties/dom/document-class-name property is set to
a value other than the name of the default document factory. If this feature
is set to true, the DOM nodes in the returned document are expanded as the
tree is traversed. This feature allows the parser to return a document
faster than if the tree is fully expanded during parsing and improves memory
usage when the whole tree is not traversed.   
See   http://apache.org/xml/properties/dom/document-class-name   

--> Also, at the top of http://xml.apache.org/xerces-j/properties.html it
says
--> "Setting Features" instead of "Setting Properties".

Thanks,
Jim.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to