?
Solved

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

Posted on 2011-05-11
3
Medium Priority
?
292 Views
Last Modified: 2012-05-11
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>
0
Comment
Question by:eshiots2
  • 2
3 Comments
 
LVL 16

Expert Comment

by:Walter Ritzel
ID: 35741365
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
 

Accepted Solution

by:
eshiots2 earned 0 total points
ID: 35741948
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
 

Author Closing Comment

by:eshiots2
ID: 35767655
I somehow think the solution was correct, there is just a problem on my PC.
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Many times as a report developer I've been asked to display normalized data such as three rows with values Jack, Joe, and Bob as a single comma-separated string such as 'Jack, Joe, Bob', and vice versa.  Here's how to do it. 
From implementing a password expiration date, to datatype conversions and file export options, these are some useful settings I've found in Jasper Server.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
This video shows how to Export data from an Oracle database using the Datapump Export Utility.  The corresponding Datapump Import utility is also discussed and demonstrated.
Suggested Courses

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question