You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xmlbeans.apache.org by xm...@xml.apache.org on 2004/10/18 21:30:55 UTC

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

The following issue has been updated:

    Updater: Rich Feit (mailto:rfeit@bea.com)
       Date: Mon, 18 Oct 2004 12:29 PM
    Changes:
             Attachment changed to struts-config_1_1.xsd
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/browse/XMLBEANS-72?page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/browse/XMLBEANS-72

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-72
    Summary: Document properties are lost
       Type: Bug

     Status: Unassigned
   Priority: Major

    Project: XMLBeans
 Components: 
             XmlObject
   Versions:
             Version 2 Beta 1

   Assignee: 
   Reporter: Rich Feit

    Created: Mon, 18 Oct 2004 12:28 PM
    Updated: Mon, 18 Oct 2004 12:29 PM
Environment: Windows

Description:
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/>


---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report 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