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 73583 Details for
Bug 192330
[Schema][Editors] DTD approximation EMPTY when should be PCDATA
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch
patch192330.txt (text/plain), 959 bytes, created by
Adam Archer
on 2007-07-11 15:11:43 EDT
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Adam Archer
Created:
2007-07-11 15:11:43 EDT
Size:
959 bytes
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.pde.core >Index: src/org/eclipse/pde/internal/core/schema/SchemaElement.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.pde.core/src/org/eclipse/pde/internal/core/schema/SchemaElement.java,v >retrieving revision 1.22 >diff -u -r1.22 SchemaElement.java >--- src/org/eclipse/pde/internal/core/schema/SchemaElement.java 30 Aug 2006 22:11:28 -0000 1.22 >+++ src/org/eclipse/pde/internal/core/schema/SchemaElement.java 11 Jul 2007 19:11:42 -0000 >@@ -136,10 +136,10 @@ > ISchemaCompositor compositor = complexType.getCompositor(); > if (compositor != null) > text += calculateChildRepresentation(compositor, addLinks); >- else >+ else if (getAttributeCount() != 0) > text += "EMPTY"; //$NON-NLS-1$ >- >- } else >+ } >+ if (text.length() == 0) > text += "(#PCDATA)"; //$NON-NLS-1$ > } > if (text.length() > 0) {
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
Flags:
mike.pawlowski
:
review+
Actions:
View
|
Diff
Attachments on
bug 192330
: 73583