Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 187313 Details for
Bug 335034
dbws.testing.visit.AdvancedJDBCTestSuite.struct3LevelDeep_OxPart failed
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
When comparing 2 xml docs, sometimes the header is standalone (or not)
335034.patch (text/plain), 1.71 KB, created by
Mike Norman
on 2011-01-21 14:15:26 EST
(
hide
)
Description:
When comparing 2 xml docs, sometimes the header is standalone (or not)
Filename:
MIME Type:
Creator:
Mike Norman
Created:
2011-01-21 14:15:26 EST
Size:
1.71 KB
patch
obsolete
>Index: utils/eclipselink.dbws.builder.test.oracle/src/dbws/testing/visit/AdvancedJDBCTestSuite.java >=================================================================== >--- utils/eclipselink.dbws.builder.test.oracle/src/dbws/testing/visit/AdvancedJDBCTestSuite.java (revision 8862) >+++ utils/eclipselink.dbws.builder.test.oracle/src/dbws/testing/visit/AdvancedJDBCTestSuite.java (working copy) >@@ -775,6 +775,10 @@ > String empObjectEntityString = > DBWSTestHelper.documentToString(empObjectEntityDoc).replaceAll("[\r\n]", ""); > empObjectEntityString = empObjectEntityString.replaceAll(">( *)<", "><"); >+ if (empObjectEntityString.startsWith(STANDALONE_XML_HEADER)) { >+ empObjectEntityString = >+ empObjectEntityString.replace(STANDALONE_XML_HEADER, REGULAR_XML_HEADER); >+ } > String anEmpObject = ANEMPOBJECT + today.toString() + ANEMPOBJECT_SUFFIX; > assertTrue("instance empObject not same as control empObject", > anEmpObject.equals(empObjectEntityString)); >@@ -1114,8 +1118,12 @@ > "</query>" + > "</queries>" + > "</object-persistence>"; >+ static final String STANDALONE_XML_HEADER = >+ "<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"no\"?>"; >+ static final String REGULAR_XML_HEADER = >+ "<?xml version = '1.0' encoding = 'UTF-8'?>"; > static final String ANEMPOBJECT = >- "<?xml version = '1.0' encoding = 'UTF-8'?>" + >+ REGULAR_XML_HEADER + > "<emp_objectType xmlns=\"urn:struct3\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">" + > "<employee_id>55</employee_id>" + > "<address>" +
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 335034
: 187313