For Oracle UPK, having issue with XML that supports English publishing

For Oracle UPK, having issue with XML that supports English publishing - XML language creates complex statements but forgets spaces, resulting in spelling errors not detectable by spellcheck.  Logic combines "Enter" "a valid value" and "e.g." to make a complex statement.  it should combine to "Enter a valid value e.g. " but it actually combines to "Entera valid valuee.g." so when it's published, it looks very unprofessional.
I found the XML code responsible for the space after "a valid value" but cannot find the code responsible for the space after "Enter".  For "a valid value" I changed the leading space from "false" to "true" which got me "Entera valid value e.g." so I now have the space between "value" and "e.g."  Problem is I"m still getting "Entera" instead of "Enter a".  Can't find >Enter< in the code anywhere except for pressing the ENTER key, which isn't what I'm looking form.  Please help.  Code sample follows.


            <Template Context="StringInput">
                  <!-- Example: Enter the desired information into the Test field. Enter 123.-->
                  <Text Sound="stginput">Type the desired information into the</Text>
                  <ObjectName />
                  <Text Sound="stginp2">box. Type</Text>
                  <StringInputExtension Type="anything" Sound="sivalid">  a valid value </StringInputExtension>
                  <StringInputExtension Type="example" Sound="siexample" LeadingSpace="true">; e.g.,</StringInputExtension>
                  <Content />
                  <StringInputExtension Type="blank" Sound="siblank">or leave blank</StringInputExtension>
                  <Text>.</Text>
eshiots2Asked:
Who is Participating?
 
eshiots2Connect With a Mentor Author Commented:
I tried setting the LeadingSpace="true" on each line but somehow it was still ignoring.  I finally changed the way it sugguests... instead of >field.  Enter< it is now >field.  Enter a valid value< and instead of >a valid value< it's just ><.  Ultimately, that got it to look correct, even though I could not get the XML to actually work the way it would appear that it should work.  Thanks for the answer.
0
 
Walter RitzelSenior Software EngineerCommented:
I dont know if you have tested, but one possible approach would be add the  LeadingSpace="true"  in the tag for " a valid value". You were able to put the space between "a valid value" and "e.g." because you add the  LeadingSpace="true"  in the e.g. tag. So, it is expected the same to work for the other tag.

 <Template Context="StringInput">
                  <!-- Example: Enter the desired information into the Test field. Enter 123.-->
                  <Text Sound="stginput">Type the desired information into the</Text>
                  <ObjectName />
                  <Text Sound="stginp2">box. Type</Text>
                  <StringInputExtension Type="anything" Sound="sivalid" LeadingSpace="true">  a valid value </StringInputExtension>
                  <StringInputExtension Type="example" Sound="siexample" LeadingSpace="true">; e.g.,</StringInputExtension>
                  <Content />
                  <StringInputExtension Type="blank" Sound="siblank">or leave blank</StringInputExtension>
                  <Text>.</Text>

Open in new window

0
 
eshiots2Author Commented:
I somehow think the solution was correct, there is just a problem on my PC.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.