Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Specifying Case-Insensitive Element Names in XML Schema

388481Nov 13 2005 — edited Nov 14 2005
Hope someone knows this!

Is it possible to define an an XML Schema Definition so that Element names in the target XML File can be case insensitive.

At the moment my Parser throws an error if the element names in the XML file do not have the exact same case as the definition in the XML schema.

E.g
In Schema i have:
<xsd:element name="HOSTINVENTORYLINE" type="HostInventoryLineType" maxOccurs="unbounded" minOccurs="0"/>

but in xml file i have
<HostInventoryLine field=""/>
or
<hostinventoryline field=""/>

Does anyone know anyway to get around this, so that the parser accepts the HostInventoryLine element in the xml as an instance of the HOSTINVENTORYLINE element defined in the schema.

Thanks in Advance
JJ

Message was edited by:
johnny@blacktower.com.au
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2005
Added on Nov 13 2005
1 comment
4,610 views