Jos Vos wrote:
On Wed, Nov 24, 2004 at 03:24:38PM -0800, Alessandro Vernet wrote:


Let me know if this solves your problem:
http://www.orbeon.com/community/faq#2.23


I've quickly read it and I will try some things, but this doesn't
answer my question about the difference between internal documents
and static file documents that I see.  Can you comment on this?

In theory of course there shouldn't be. Maybe Alex can comment better on this, but it's not clear to me whether this behavior of Saxon is a bug, or a chosen behavior, or whether a better behavior can be implemented. Some namespace handling can be tricky for an XSLT processor.


There is the additional fact that XML 1.0 cannot represent some very particular namespace situations (while XML 1.1 can, but nobody is using XML 1.1 yet, in particular Xerces doesn't support it). In order to produce valid XML 1.0 documents when saving them on disk, by default serializers such as the file serializer now clean-up some declarations considered invalid in XML 1.0. This however can change the XML infoset. So here you can get an infoset difference when saving a file on disk and re-reading it.

Could you try the following:

1. Call the file saved using the File serializer file1.xml.

2. Set in properties.xml the following property for the File serializer:

   <property as="xs:boolean" processor-name="oxf:file-serializer"
     name="serialize-xml-11" value="true"/>

3. Try again saving the file, let's call it file2.xml.

Then see if there is a difference between file1.xml and file2.xml. If any, it should regard namespace declarations of the form xmlns:abc="".

-Erik


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
orbeon-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to