Concerned API: XMLHelper.save(DataObject dataObject, String rootElementURI, 
String rootElementName, OutputStream outputStream)
  
  My observation is the current implementation of this method would  
automatically add the rootElementName to the namespace if it does not  exist 
and serialize the new global element. The problem with this  approach is that 
the users may not be aware they need to generate and  use the new XSD to load 
the document they just serialized otherwise  loading would fail.
  
  I am questioning whether this implicit add is necessary.  Is there any 
benefit by doing that?  Thanks.
  
  Sincerely,
  
  Fuhwei Lwo
  

Reply via email to