structured Frame to XML: marker @type changes value mysteriously

2009-12-21 Thread LW White

I have a marker in an unstructured Frame 7 document. Its Frame marker type is 
"SpecialRules". I write a conversion table rule like this:

M:SpecialRules  |  marker[type=”specrules”]

I structure the document using the conversion table and the result is 

marker
   type  =  specrules

which is correct.

I save the structured Frame doc to XML using my structured app and get error 
messages such as "Attribute 'type' does not match its defined enumeration. When 
I check the XML, I have this:



when I should have



In my EDD/DTD, I have the element marker defined with a type attribute and one 
of the values of @type is qrst. Then I have a rule formatting markers with this 
attribute values as Frame marker type FmQRST.

InitialObjectFormat
  ContextRule
If context is: [type="specrules"]
   Use marker type:SpecialRules

I don't have any r/w rules that address marker attributes. I shouldn't think I 
need them, as I am not translating an attribute to any other attribute or 
translating values, etc.

Can someone explain why Frame is change the value of @type in a structured 
Frame file to the name of the corresponding Frame marker type in the XML 
instead of leaving the @type value as-is?

Thanks,
Leigh
  
_
Hotmail: Trusted email with Microsoft’s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/
___


You are currently subscribed to Framers as arch...@mail-archive.com.

Send list messages to fram...@lists.frameusers.com.

To unsubscribe send a blank email to 
framers-unsubscr...@lists.frameusers.com
or visit 
http://lists.frameusers.com/mailman/options/framers/archive%40mail-archive.com

Send administrative questions to listad...@frameusers.com. Visit
http://www.frameusers.com/ for more resources and info.


structured Frame to XML: marker @type changes value mysteriously

2009-12-21 Thread LW White

I have a marker in an unstructured Frame 7 document. Its Frame marker type is 
"SpecialRules". I write a conversion table rule like this:

M:SpecialRules  |  marker[type=?specrules?]

I structure the document using the conversion table and the result is 

marker
   type  =  specrules

which is correct.

I save the structured Frame doc to XML using my structured app and get error 
messages such as "Attribute 'type' does not match its defined enumeration. When 
I check the XML, I have this:



when I should have



In my EDD/DTD, I have the element marker defined with a type attribute and one 
of the values of @type is qrst. Then I have a rule formatting markers with this 
attribute values as Frame marker type FmQRST.

InitialObjectFormat
  ContextRule
If context is: [type="specrules"]
   Use marker type:SpecialRules

I don't have any r/w rules that address marker attributes. I shouldn't think I 
need them, as I am not translating an attribute to any other attribute or 
translating values, etc.

Can someone explain why Frame is change the value of @type in a structured 
Frame file to the name of the corresponding Frame marker type in the XML 
instead of leaving the @type value as-is?

Thanks,
Leigh

_
Hotmail: Trusted email with Microsoft?s powerful SPAM protection.
http://clk.atdmt.com/GBL/go/177141664/direct/01/