
Hi Jirka, Tara, Indeed PIs allow ampersand to be entered directly. However, the xml-model spec refers to the xml-stylesheet spec for pseudo-attributes http://www.w3.org/TR/2010/REC-xml-stylesheet-20101028/#dt-pseudo-attribute and that specifies that the presudo-attribute value should be obtained after processing character entities and predefined entities by replacing them with the corresponding characters: *** [Definition: The string matched by PseudoAttValue in the PseudoAtt production — with the three modifications specified below — constitutes the value of the corresponding pseudo-attribute.] Each CharRef is replaced with the character it represents according to XML [XML]. Each PredefEntityRef in PseudoAttValue is replaced with U+0026 (&) if it is "&", U+003C (<) if it is "<", U+003E (>) if it is ">", U+0022 (") if it is """ and U+0027 (') if it is "'". The first and last character (the start and end quotes) are removed. *** So, we should make sure we have this processing added to oXygen. Best Regards, George -- George Cristian Bina <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 11/24/11 9:42 AM, Jirka Kosek wrote:
On 24.11.2011 4:29, Tara Athan wrote:
If the value of the @href attribute of an xml-model processing instruction is a URL with query string, the ampersands in the query string must be replaced with& to avoid an error. This is as it should be.
No, entity references are not recognized inside processing instructions so& has to be entered directly withou escaping.
Jirka
-- ------------------------------------------------------------------ Jirka Kosek e-mail: jirka@kosek.cz http://xmlguru.cz ------------------------------------------------------------------ Professional XML consulting and training services DocBook customization, custom XSLT/XSL-FO document processing ------------------------------------------------------------------ OASIS DocBook TC member, W3C Invited Expert, ISO JTC1/SC34 member ------------------------------------------------------------------ _______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com http://www.oxygenxml.com/mailman/listinfo/oxygen-user