Re: [xml] XInclude and xml:base attribute

On Thu, Jul 24, 2003 at 10:55:42AM +0200, Manuel González Castro wrote:
Now I'm thinking about:
1) Parse the source and process XInclude (adding xml:base attributes)
2) Make a copy of the document, remove xml:base and validate
3) If the document without xml:base is valid, go ahead and read the original
document (the one with the xml:base attributes) 

  sounds dangerous, the xml:base attribute is part of the common
XML framework nowadays, and removing it from element you don't control
sounds a really bad idea...


Daniel Veillard      | Red Hat Network
veillard redhat com  | libxml GNOME XML XSLT toolkit | Rpmfind RPM search engine

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]