You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by "Jacob Danner (JIRA)" <xm...@xml.apache.org> on 2005/04/19 21:33:28 UTC

[jira] Closed: (XMLBEANS-72) Document properties are lost

     [ http://issues.apache.org/jira/browse/XMLBEANS-72?page=all ]
     
Jacob Danner closed XMLBEANS-72:
--------------------------------


This is fixed in V2 and an automated regression case has been created. Closing

> Document properties are lost
> ----------------------------
>
>          Key: XMLBEANS-72
>          URL: http://issues.apache.org/jira/browse/XMLBEANS-72
>      Project: XMLBeans
>         Type: Bug
>   Components: XmlObject
>     Versions: Version 2 Beta 1
>  Environment: Windows
>     Reporter: Rich Feit
>      Fix For: Version 2 Beta 1
>  Attachments: repro.java, struts-config_1_1.xsd
>
> This is happening on a build from 10/12.  Document properties added through XmlDocumentProperties appear to be ignored when the document is saved.
> I'm running the following commands under both v1.0.3 and the 10/12 build (repro.java and struts-config_1_1.xsd will be attached):
>     java -classpath %XMLBEANS_CLASSPATH% org.apache.xmlbeans.impl.tool.SchemaCompiler struts-config_1_1.xsd
>     javac -classpath xmltypes.jar;%XMLBEANS_CLASSPATH% repro.java
>     java -cp xmltypes.jar;%XMLBEANS_CLASSPATH%;. repro
> Under v1.0.3 I get the following in output.xml:
>     <?xml version="1.0" encoding="UTF-8"?>
>     <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD     Struts Configuration 1.1//EN" "http://jakarta.apache.org/struts/dtds/struts-config_1_1.dtd">
>     <struts-config/>
> On the 10/12 build I get this:
>     <?xml version="1.0" encoding="UTF-8"?>
>     <struts-config/>

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@xmlbeans.apache.org
For additional commands, e-mail: dev-help@xmlbeans.apache.org