#853: XML namespace declarations are not carried over when transforming or
merging configs
----------------------+-----------------------------------------------------
 Reporter:  david     |        Owner:  david     
     Type:  defect    |       Status:  assigned  
 Priority:  high      |    Milestone:  1.0       
Component:  config    |      Version:  1.0.0beta1
 Severity:  critical  |   Resolution:            
 Keywords:            |    Has_patch:  0         
----------------------+-----------------------------------------------------
Changes (by david):

  * status:  new => assigned


Old description:

> Imagine this very simple example:
> {{{
> <configurations
>   xmlns="http://agavi.org/agavi/1.0/config";
>   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
> >
>   <configuration>
>     <foo type="xsd:string">bar</foo>
> </configurations>
> }}}
> the declaration for the namespace prefix {{{xsd}}} is lost in two spots:
>  1. when transforming the document to a new envelope namespace in
> {{{_common.xsl}}}
>  2. when merging fragments (parents etc) into a new config file in
> {{{AgaviXmlConfigParser}}}

New description:

 Imagine this very simple example:
 {{{
 #!xml
 <configurations
   xmlns="http://agavi.org/agavi/1.0/config";
   xmlns:xsd="http://www.w3.org/2001/XMLSchema";>
 >
   <configuration>
     <foo type="xsd:string">bar</foo>
   </configuration>
 </configurations>
 }}}
 the declaration for the namespace prefix {{{xsd}}} is lost in two spots:
  1. when transforming the document to a new envelope namespace in
 {{{_common.xsl}}}
  2. when merging fragments (parents etc) into a new config file in
 {{{AgaviXmlConfigParser}}}

--

-- 
Ticket URL: <http://trac.agavi.org/ticket/853#comment:1>
Agavi <http://www.agavi.org/>
An MVC Framework for PHP5


_______________________________________________
Agavi Tickets Mailing List
[email protected]
http://lists.agavi.org/mailman/listinfo/tickets

Reply via email to