xml-xmlbeans-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j...@apache.org
Subject [jira] Updated: (XMLBEANS-16) newDomNode creates a DOM with empty strings for namespace URIs for unprefixed attributes (rather than null)
Date Sat, 13 Mar 2004 00:04:16 GMT
The following issue has been updated:

    Updater: Aaron Dunlop (mailto:aaron.dunlop@transcore.com)
       Date: Fri, 12 Mar 2004 4:02 PM
    Comment:
David suggested this change to Saver.java, and it seems to correct the problem. With this
patch applied, the DRT suite runs successfully under either crimson or xerces.

Note that the drt will succeed even without this patch when run from ant, because ant appears
to load xerces as its parser regardless of what else might be in the classpath. To reproduce,
I had to run with Crimson outside of ant.
    Changes:
             Attachment changed to fix16.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=XMLBEANS-16&page=history

---------------------------------------------------------------------
View the issue:
  http://issues.apache.org/jira/secure/ViewIssue.jspa?key=XMLBEANS-16

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: XMLBEANS-16
    Summary: newDomNode creates a DOM with empty strings for namespace URIs for unprefixed
attributes (rather than null)
       Type: Bug

     Status: Open

    Project: XMLBeans
 Components: 
             DOM
   Versions:
             unspecified

   Assignee: xmlbeans-dev@xml.apache.org
   Reporter: David Waite

    Created: Sat, 7 Feb 2004 7:01 PM
    Updated: Fri, 12 Mar 2004 4:02 PM
Environment: Operating System: Windows XP
Platform: PC

Description:
on attributes without a prefix qualifier, element.getAttributeNS(null, "name") should work;
however, the 
DOM that xmlbeans creates sets the namespace URI to an empty string rather than null. DOM
specifies 
that empty namespaceURI parameters are represented by null


---------------------------------------------------------------------
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:   xmlbeans-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xmlbeans-dev-help@xml.apache.org
Apache XMLBeans Project -- URL: http://xml.apache.org/xmlbeans/


Mime
View raw message