Changes

Jump to: navigation, search

User:TerryChen

588 bytes added, 06:02, 19 August 2009
no edit summary
</ul>
<br/>
<h4>Week 11</h4>
<ul>
<li>Checked the code for createing attributes for an element in '''XSDImpl.java'''</li>
org.eclipse.wst.xsd.core > src-contentmodel > org.eclipse.wst.xsd.contentmodel.internal > <br/> XSDImpl.java > ElementDeclarationBaseImpl > getAttributes()<br/>
<li>Blog [http://t3rrychan.blogspot.com/2009/08/exploring-xsdcore.html Exploring xsd.core]</li>
</ul>
<br/>
<h4>Week 12</h4>
<ul>
<li>Tried to create a quick patch for [https://bugs.eclipse.org/bugs/show_bug.cgi?id=245698 Bug 245698] by changing the getAttrName function under XSDAttributeUseAdapter in XSDImpl.java to the following</li>
public String getAttrName()<br/>
{<br/>
&nbsp;&nbsp;String attrName = xsdAttributeUse.getAttributeDeclaration().getName();<br/>
&nbsp;&nbsp;if (attrName.equals("lang") == true)<br/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attrName = "xml:lang";<br/>
&nbsp;&nbsp;return attrName;<br/>
}<br/>
</ul>
1
edit

Navigation menu