Re: [Xsltforms-support] the namespace bug?
Brought to you by:
alain-couthures
From: COUTHURES A. <ala...@ag...> - 2010-05-01 14:54:45
|
Hi Evgeny, > the instance content: > <security:login xmlns:security="http://schematronic.ru/api/security"> > <user>guest</user> > <password>guest</password> > </security:login> > is posted as > <security:login xmlns:security="http://schematronic.ru/api/security" > xmlns:pre1=""> > <user>guest</user> > <password>guest</password> > </security:login> > This is not valid XML! > Thank you for pointing at this problem. I'm currently fixing problems and bugs in serialization. As Leigh Klotz mentioned, prefixes have to be preserved for attribute values concerns. This is a very tricky part indeed... In your instance content, the default namespace has to be considered for children so I would like the serialization to produce this: <security:login xmlns:security="http://schematronic.ru/api/security"> <user xmlns="">guest</user> <password xmlns="">guest</password> </security:login> Would it be correct for you? Thanks! -Alain |