I have a XSLT processor that prepares config xml for an url-generator.
The config XML I test with looks like this: <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:oxf="http://www.orbeon.com/oxf/processors" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:p="http://www.orbeon.com/oxf/pipeline" xmlns:sql="http://orbeon.org/oxf/xml/sql" xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> <url>oxf:/convert/in/aaa.txt</url> <content-type>text/plain</content-type> <validating>true</validating> </config> When I feed this into the URL generator: <p:processor name="oxf:url-generator"> <p:input name="config" href="#config"/> <p:output name="data" id="one-file" debug="one-file"/> </p:processor> ...OPS throws an error shown below. However, when I copy the config XML snippet from console and paste it directly into the config input of the url-generator, no error is thrown. Any ideas why this is happening? Here is the stack trace: 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null - Exception at oxf:/convert/convert.xpl, line 32, column 87 org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, line 32, column 87: Error character data is not allowed here(schema: http://www.orbeon.org/oxf/xml/url) oxf:/convert/convert.xpl, line 32, column 87: Error character data is not allowed here(schema: http://www.orbeon.org/oxf/xml/url) at org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVVa lidationProcessor.java:197) at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) at org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java :80) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) at org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java: 76) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1164) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProce ssorFilter.read(ProcessorImpl.java:959) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1164) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :349) at org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MS VValidationProcessor.java:44) at org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MS VValidationProcessor.java:219) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) at org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo rImpl.java:1164) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java :349) at org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.ja va:404) at org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerator. java:57) at org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.java :246) at org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI mpl.java:470) at org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerator. java:57) at org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator. java:243) at org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Alex what is on line 32 of convert.xpl?
Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Alexander Zatko [mailto:[hidden email]] >Sent: 08 February 2006 13:26 >To: [hidden email] >Subject: [ops-users] Error character data is not allowed here... > >I have a XSLT processor that prepares config xml for an url-generator. >The config XML I test with looks like this: > ><config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >xmlns:oxf="http://www.orbeon.com/oxf/processors" >xmlns:xs="http://www.w3.org/2001/XMLSchema" >xmlns:p="http://www.orbeon.com/oxf/pipeline" >xmlns:sql="http://orbeon.org/oxf/xml/sql" >xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> > <url>oxf:/convert/in/aaa.txt</url> > <content-type>text/plain</content-type> > <validating>true</validating> ></config> > >When I feed this into the URL generator: > > <p:processor name="oxf:url-generator"> > <p:input name="config" href="#config"/> > <p:output name="data" id="one-file" >debug="one-file"/> > </p:processor> > >...OPS throws an error shown below. However, when I copy the config XML >snippet from console and paste it directly into the config input of the >url-generator, no error is thrown. > >Any ideas why this is happening? > >Here is the stack trace: > > >2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null - >Exception at oxf:/convert/convert.xpl, line 32, column 87 >org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >line 32, column 87: Error character data is not allowed here(schema: >http://www.orbeon.org/oxf/xml/url) >oxf:/convert/convert.xpl, line 32, column 87: Error character data is >not allowed here(schema: http://www.orbeon.org/oxf/xml/url) > at >org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVVa >lidationProcessor.java:197) > at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) > at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) > at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) > at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) > at >org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java >:80) > at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) > at >org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java: >76) > at >org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) > at >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >rImpl.java:1164) > at >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProce >ssorFilter.read(ProcessorImpl.java:959) > at >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >rImpl.java:1164) > at >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >:349) > at >org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MS >VValidationProcessor.java:44) > at >org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MS >VValidationProcessor.java:219) > at >org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) > at >org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >rImpl.java:1164) > at >org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >:349) > at >org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.ja >va:404) > at >org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerator. >java:57) > at >org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.java >:246) > at >org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI >mpl.java:470) > at >org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerator. >java:57) > at >org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator. >java:243) > at >org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) > > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Line 32 is the output line of the XSLT processor. I do not think that
is relevant though because I tried to replace the xslt processor with identity processor, but OPS threw the same error. Here is the XSLT processor: <!-- prepare config for the url-generator --> <p:processor name="oxf:xslt"> <p:input name="data" href="#instance"/> <p:input name="config"> <xsl:stylesheet version="2.0"> <xsl:template match="file[1]"> <config> <url>oxf:/convert/in/<xsl:value-of select="@name"/></url> <content-type>text/plain</content-type> <validating>true</validating> </config> </xsl:template> </xsl:stylesheet> </p:input> line 32: <p:output name="data" id="url-gen-config" debug="url-gen-config"/> </p:processor> A. On Feb 8, 2006, at 8:33 AM, Ryan Puddephatt wrote: > Alex what is on line 32 of convert.xpl? > > Ryan Puddephatt > Software Engineer > TFX Group - IT UK > 1 Michaelson Square > Livingston > West Lothian > Scotand > EH54 7DP > > * [hidden email] > ( 01506 407 110 > 7 01506 407 108 > >> -----Original Message----- >> From: Alexander Zatko [mailto:[hidden email]] >> Sent: 08 February 2006 13:26 >> To: [hidden email] >> Subject: [ops-users] Error character data is not allowed here... >> >> I have a XSLT processor that prepares config xml for an url-generator. >> The config XML I test with looks like this: >> >> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:oxf="http://www.orbeon.com/oxf/processors" >> xmlns:xs="http://www.w3.org/2001/XMLSchema" >> xmlns:p="http://www.orbeon.com/oxf/pipeline" >> xmlns:sql="http://orbeon.org/oxf/xml/sql" >> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >> <url>oxf:/convert/in/aaa.txt</url> >> <content-type>text/plain</content-type> >> <validating>true</validating> >> </config> >> >> When I feed this into the URL generator: >> >> <p:processor name="oxf:url-generator"> >> <p:input name="config" href="#config"/> >> <p:output name="data" id="one-file" >> debug="one-file"/> >> </p:processor> >> >> ...OPS throws an error shown below. However, when I copy the config >> XML >> snippet from console and paste it directly into the config input of >> the >> url-generator, no error is thrown. >> >> Any ideas why this is happening? >> >> Here is the stack trace: >> >> >> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null - >> Exception at oxf:/convert/convert.xpl, line 32, column 87 >> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >> line 32, column 87: Error character data is not allowed here(schema: >> http://www.orbeon.org/oxf/xml/url) >> oxf:/convert/convert.xpl, line 32, column 87: Error character data is >> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >> at >> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSV >> Va >> lidationProcessor.java:197) >> at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >> at >> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.ja >> va >> :80) >> at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >> at >> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java >> : >> 76) >> at >> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >> at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >> so >> rImpl.java:1164) >> at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcretePro >> ce >> ssorFilter.read(ProcessorImpl.java:959) >> at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >> so >> rImpl.java:1164) >> at >> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.ja >> va >> :349) >> at >> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700( >> MS >> VValidationProcessor.java:44) >> at >> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl( >> MS >> VValidationProcessor.java:219) >> at >> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >> at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >> so >> rImpl.java:1164) >> at >> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.ja >> va >> :349) >> at >> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl. >> ja >> va:404) >> at >> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerato >> r. >> java:57) >> at >> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.ja >> va >> :246) >> at >> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Processo >> rI >> mpl.java:470) >> at >> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerato >> r. >> java:57) >> at >> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerato >> r. >> java:243) >> at >> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >> >> > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Alexander Žaťko
The error seems to mean that there is an extra character somewhere, but
I don't see anything wrong with your <config> below. Does it come right from the console? -Erik Alexander Zatko wrote: > I have a XSLT processor that prepares config xml for an url-generator. > The config XML I test with looks like this: > > <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:oxf="http://www.orbeon.com/oxf/processors" > xmlns:xs="http://www.w3.org/2001/XMLSchema" > xmlns:p="http://www.orbeon.com/oxf/pipeline" > xmlns:sql="http://orbeon.org/oxf/xml/sql" > xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> > <url>oxf:/convert/in/aaa.txt</url> > <content-type>text/plain</content-type> > <validating>true</validating> > </config> > > When I feed this into the URL generator: > > <p:processor name="oxf:url-generator"> > <p:input name="config" href="#config"/> > <p:output name="data" id="one-file" debug="one-file"/> > </p:processor> > > ...OPS throws an error shown below. However, when I copy the config XML > snippet from console and paste it directly into the config input of the > url-generator, no error is thrown. > > Any ideas why this is happening? > > Here is the stack trace: > > > 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null - > Exception at oxf:/convert/convert.xpl, line 32, column 87 > org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, > line 32, column 87: Error character data is not allowed here(schema: > http://www.orbeon.org/oxf/xml/url) > oxf:/convert/convert.xpl, line 32, column 87: Error character data is > not allowed here(schema: http://www.orbeon.org/oxf/xml/url) > at > org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVValidationProcessor.java:197) > > at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) > at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) > at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) > at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) > at > org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java:80) > > at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) > at > org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java:76) > at > org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) > > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProcessorFilter.read(ProcessorImpl.java:959) > > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) > > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) > > at > org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MSVValidationProcessor.java:44) > > at > org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MSVValidationProcessor.java:219) > > at > org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) > at > org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(ProcessorImpl.java:1164) > > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java:349) > > at > org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.java:404) > > at > org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerator.java:57) > > at > org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.java:246) > > at > org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorImpl.java:470) > > at > org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerator.java:57) > > at > org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator.java:243) > > at > org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) > > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
In reply to this post by Alexander Žaťko
It is not 100% impossible that your template will match several times.
Try doing: <xsl:stylesheet version="2.0"> <xsl:template match="/"> <config> <url>oxf:/convert/in/<xsl:value-of select="(//file)[1]/@name"/></url> <content-type>text/plain</content-type> <validating>true</validating> </config> </xsl:template> </xsl:stylesheet> and see if there is a difference. -Erik Alexander Zatko wrote: > Line 32 is the output line of the XSLT processor. I do not think that is > relevant though because I tried to replace the xslt processor with > identity processor, but OPS threw the same error. Here is the XSLT > processor: > > <!-- prepare config for the url-generator --> > <p:processor name="oxf:xslt"> > <p:input name="data" href="#instance"/> > <p:input name="config"> > <xsl:stylesheet version="2.0"> > > <xsl:template match="file[1]"> > <config> > <url>oxf:/convert/in/<xsl:value-of > select="@name"/></url> > <content-type>text/plain</content-type> > <validating>true</validating> > </config> > </xsl:template> > > </xsl:stylesheet> > </p:input> > line 32: <p:output name="data" id="url-gen-config" > debug="url-gen-config"/> > </p:processor> > > A. > > On Feb 8, 2006, at 8:33 AM, Ryan Puddephatt wrote: > >> Alex what is on line 32 of convert.xpl? >> >> Ryan Puddephatt >> Software Engineer >> TFX Group - IT UK >> 1 Michaelson Square >> Livingston >> West Lothian >> Scotand >> EH54 7DP >> >> * [hidden email] >> ( 01506 407 110 >> 7 01506 407 108 >> >>> -----Original Message----- >>> From: Alexander Zatko [mailto:[hidden email]] >>> Sent: 08 February 2006 13:26 >>> To: [hidden email] >>> Subject: [ops-users] Error character data is not allowed here... >>> >>> I have a XSLT processor that prepares config xml for an url-generator. >>> The config XML I test with looks like this: >>> >>> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>> xmlns:p="http://www.orbeon.com/oxf/pipeline" >>> xmlns:sql="http://orbeon.org/oxf/xml/sql" >>> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >>> <url>oxf:/convert/in/aaa.txt</url> >>> <content-type>text/plain</content-type> >>> <validating>true</validating> >>> </config> >>> >>> When I feed this into the URL generator: >>> >>> <p:processor name="oxf:url-generator"> >>> <p:input name="config" href="#config"/> >>> <p:output name="data" id="one-file" >>> debug="one-file"/> >>> </p:processor> >>> >>> ...OPS throws an error shown below. However, when I copy the config XML >>> snippet from console and paste it directly into the config input of the >>> url-generator, no error is thrown. >>> >>> Any ideas why this is happening? >>> >>> Here is the stack trace: >>> >>> >>> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null - >>> Exception at oxf:/convert/convert.xpl, line 32, column 87 >>> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >>> line 32, column 87: Error character data is not allowed here(schema: >>> http://www.orbeon.org/oxf/xml/url) >>> oxf:/convert/convert.xpl, line 32, column 87: Error character data is >>> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >>> at >>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVVa >>> lidationProcessor.java:197) >>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >>> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >>> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >>> at >>> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java >>> :80) >>> at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >>> at >>> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java: >>> 76) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>> rImpl.java:1164) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProce >>> ssorFilter.read(ProcessorImpl.java:959) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>> rImpl.java:1164) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >>> :349) >>> at >>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MS >>> VValidationProcessor.java:44) >>> at >>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MS >>> VValidationProcessor.java:219) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>> rImpl.java:1164) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >>> :349) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.ja >>> va:404) >>> at >>> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerator. >>> java:57) >>> at >>> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.java >>> :246) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI >>> mpl.java:470) >>> at >>> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerator. >>> java:57) >>> at >>> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator. >>> java:243) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>> >>> >> >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Yes, I copied the XML config snippet (the one that causes no problems
when pasted into url-generator) directly from console. Just for the kicks I replaced the dynamically-generated line in the XSLT processor: <url>oxf:/convert/in/<xsl:value-of select="@name"/></url> ...with... <url>oxf:/convert/in/aaa.txt</url> ...and the error is still thrown. On Feb 8, 2006, at 8:46 AM, Erik Bruchez wrote: > The error seems to mean that there is an extra character somewhere, > but I don't see anything wrong with your <config> below. Does it come > right from the console? > > -Erik > > Alexander Zatko wrote: >> I have a XSLT processor that prepares config xml for an >> url-generator. The config XML I test with looks like this: >> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >> xmlns:oxf="http://www.orbeon.com/oxf/processors" >> xmlns:xs="http://www.w3.org/2001/XMLSchema" >> xmlns:p="http://www.orbeon.com/oxf/pipeline" >> xmlns:sql="http://orbeon.org/oxf/xml/sql" >> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >> <url>oxf:/convert/in/aaa.txt</url> >> <content-type>text/plain</content-type> >> <validating>true</validating> >> </config> >> When I feed this into the URL generator: >> <p:processor name="oxf:url-generator"> >> <p:input name="config" href="#config"/> >> <p:output name="data" id="one-file" >> debug="one-file"/> >> </p:processor> >> ...OPS throws an error shown below. However, when I copy the config >> XML snippet from console and paste it directly into the config input >> of the url-generator, no error is thrown. >> Any ideas why this is happening? >> Here is the stack trace: >> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null >> - Exception at oxf:/convert/convert.xpl, line 32, column 87 >> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >> line 32, column 87: Error character data is not allowed here(schema: >> http://www.orbeon.org/oxf/xml/url) >> oxf:/convert/convert.xpl, line 32, column 87: Error character data is >> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >> at >> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSV >> ValidationProcessor.java:197) at >> com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >> at >> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.ja >> va:80) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >> at >> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java >> :76) >> at >> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >> at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >> sorImpl.java:1164) at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcretePro >> cessorFilter.read(ProcessorImpl.java:959) at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >> sorImpl.java:1164) at >> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.ja >> va:349) at >> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700( >> MSVValidationProcessor.java:44) at >> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl( >> MSVValidationProcessor.java:219) at >> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >> at >> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >> sorImpl.java:1164) at >> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.ja >> va:349) at >> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl. >> java:404) at >> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerato >> r.java:57) at >> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.ja >> va:246) at >> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Processo >> rImpl.java:470) at >> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerato >> r.java:57) at >> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerato >> r.java:243) at >> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >> ---------------------------------------------------------------------- >> -- >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Alex,
Do you define this namespace(http://www.orbeon.org/oxf/xml/url) As this is appearing in the stack trace? Ryan Puddephatt Software Engineer TFX Group - IT UK 1 Michaelson Square Livingston West Lothian Scotand EH54 7DP * [hidden email] ( 01506 407 110 7 01506 407 108 >-----Original Message----- >From: Alexander Zatko [mailto:[hidden email]] >Sent: 08 February 2006 13:57 >To: [hidden email] >Subject: Re: [ops-users] Error character data is not allowed here... > >Yes, I copied the XML config snippet (the one that causes no problems >when pasted into url-generator) directly from console. > >Just for the kicks I replaced the dynamically-generated line in the >XSLT processor: > ><url>oxf:/convert/in/<xsl:value-of select="@name"/></url> > >...with... > ><url>oxf:/convert/in/aaa.txt</url> > >...and the error is still thrown. > > > >On Feb 8, 2006, at 8:46 AM, Erik Bruchez wrote: > >> The error seems to mean that there is an extra character somewhere, >> but I don't see anything wrong with your <config> below. Does it come >> right from the console? >> >> -Erik >> >> Alexander Zatko wrote: >>> I have a XSLT processor that prepares config xml for an >>> url-generator. The config XML I test with looks like this: >>> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>> xmlns:p="http://www.orbeon.com/oxf/pipeline" >>> xmlns:sql="http://orbeon.org/oxf/xml/sql" >>> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >>> <url>oxf:/convert/in/aaa.txt</url> >>> <content-type>text/plain</content-type> >>> <validating>true</validating> >>> </config> >>> When I feed this into the URL generator: >>> <p:processor name="oxf:url-generator"> >>> <p:input name="config" href="#config"/> >>> <p:output name="data" id="one-file" >>> debug="one-file"/> >>> </p:processor> >>> ...OPS throws an error shown below. However, when I copy the config >>> XML snippet from console and paste it directly into the config input >>> of the url-generator, no error is thrown. >>> Any ideas why this is happening? >>> Here is the stack trace: >>> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null >>> - Exception at oxf:/convert/convert.xpl, line 32, column 87 >>> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >>> line 32, column 87: Error character data is not allowed here(schema: >>> http://www.orbeon.org/oxf/xml/url) >>> oxf:/convert/convert.xpl, line 32, column 87: Error character data is >>> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >>> at >>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSV >>> ValidationProcessor.java:197) at >>> com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >>> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >>> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >>> at >>> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.ja >>> va:80) at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >>> at >>> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java >>> :76) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >>> sorImpl.java:1164) at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcretePro >>> cessorFilter.read(ProcessorImpl.java:959) at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >>> sorImpl.java:1164) at >>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.ja >>> va:349) at >>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700( >>> MSVValidationProcessor.java:44) at >>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl( >>> MSVValidationProcessor.java:219) at >>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>> at >>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proces >>> sorImpl.java:1164) at >>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.ja >>> va:349) at >>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl. >>> java:404) at >>> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerato >>> r.java:57) at >>> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.ja >>> va:246) at >>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Processo >>> rImpl.java:470) at >>> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerato >>> r.java:57) at >>> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerato >>> r.java:243) at >>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>> ---------------------------------------------------------------------- >>> -- >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: >>> http://www.objectweb.org/wws >> >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
In reply to this post by Erik Bruchez
Multiple matches was probably the issue. I changed the
<xsl:template match="file[1]"> to <xsl:template match="/"> and now it works. Not sure why debug did not show the multiple matches though. On Feb 8, 2006, at 8:51 AM, Erik Bruchez wrote: > It is not 100% impossible that your template will match several times. > Try doing: > > <xsl:stylesheet version="2.0"> > <xsl:template match="/"> > <config> > <url>oxf:/convert/in/<xsl:value-of > select="(//file)[1]/@name"/></url> > <content-type>text/plain</content-type> > <validating>true</validating> > </config> > </xsl:template> > </xsl:stylesheet> > > and see if there is a difference. > > -Erik > > Alexander Zatko wrote: >> Line 32 is the output line of the XSLT processor. I do not think that >> is relevant though because I tried to replace the xslt processor with >> identity processor, but OPS threw the same error. Here is the XSLT >> processor: >> <!-- prepare config for the url-generator --> >> <p:processor name="oxf:xslt"> >> <p:input name="data" href="#instance"/> >> <p:input name="config"> >> <xsl:stylesheet version="2.0"> >> <xsl:template match="file[1]"> >> <config> >> >> <url>oxf:/convert/in/<xsl:value-of select="@name"/></url> >> >> <content-type>text/plain</content-type> >> <validating>true</validating> >> </config> >> </xsl:template> >> </xsl:stylesheet> >> </p:input> >> line 32: <p:output name="data" id="url-gen-config" >> debug="url-gen-config"/> >> </p:processor> >> A. >> On Feb 8, 2006, at 8:33 AM, Ryan Puddephatt wrote: >>> Alex what is on line 32 of convert.xpl? >>> >>> Ryan Puddephatt >>> Software Engineer >>> TFX Group - IT UK >>> 1 Michaelson Square >>> Livingston >>> West Lothian >>> Scotand >>> EH54 7DP >>> >>> * [hidden email] >>> ( 01506 407 110 >>> 7 01506 407 108 >>> >>>> -----Original Message----- >>>> From: Alexander Zatko [mailto:[hidden email]] >>>> Sent: 08 February 2006 13:26 >>>> To: [hidden email] >>>> Subject: [ops-users] Error character data is not allowed here... >>>> >>>> I have a XSLT processor that prepares config xml for an >>>> url-generator. >>>> The config XML I test with looks like this: >>>> >>>> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>>> xmlns:p="http://www.orbeon.com/oxf/pipeline" >>>> xmlns:sql="http://orbeon.org/oxf/xml/sql" >>>> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >>>> <url>oxf:/convert/in/aaa.txt</url> >>>> <content-type>text/plain</content-type> >>>> <validating>true</validating> >>>> </config> >>>> >>>> When I feed this into the URL generator: >>>> >>>> <p:processor name="oxf:url-generator"> >>>> <p:input name="config" href="#config"/> >>>> <p:output name="data" id="one-file" >>>> debug="one-file"/> >>>> </p:processor> >>>> >>>> ...OPS throws an error shown below. However, when I copy the config >>>> XML >>>> snippet from console and paste it directly into the config input of >>>> the >>>> url-generator, no error is thrown. >>>> >>>> Any ideas why this is happening? >>>> >>>> Here is the stack trace: >>>> >>>> >>>> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils >>>> null - >>>> Exception at oxf:/convert/convert.xpl, line 32, column 87 >>>> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >>>> line 32, column 87: Error character data is not allowed here(schema: >>>> http://www.orbeon.org/oxf/xml/url) >>>> oxf:/convert/convert.xpl, line 32, column 87: Error character data >>>> is >>>> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >>>> at >>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(M >>>> SVVa >>>> lidationProcessor.java:197) >>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >>>> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >>>> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >>>> at >>>> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler. >>>> java >>>> :80) >>>> at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >>>> at >>>> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.ja >>>> va: >>>> 76) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java: >>>> 981) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proc >>>> esso >>>> rImpl.java:1164) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteP >>>> roce >>>> ssorFilter.read(ProcessorImpl.java:959) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proc >>>> esso >>>> rImpl.java:1164) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl. >>>> java >>>> :349) >>>> at >>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$70 >>>> 0(MS >>>> VValidationProcessor.java:44) >>>> at >>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImp >>>> l(MS >>>> VValidationProcessor.java:219) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java: >>>> 981) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Proc >>>> esso >>>> rImpl.java:1164) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl. >>>> java >>>> :349) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImp >>>> l.ja >>>> va:404) >>>> at >>>> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenera >>>> tor. >>>> java:57) >>>> at >>>> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator. >>>> java >>>> :246) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Proces >>>> sorI >>>> mpl.java:470) >>>> at >>>> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenera >>>> tor. >>>> java:57) >>>> at >>>> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenera >>>> tor. >>>> java:243) >>>> at >>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java: >>>> 981) >>>> >>>> >>> >>> >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: >>> http://www.objectweb.org/wws >> ---------------------------------------------------------------------- >> -- >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Probably because there were multiple root elements produced, and that
was not made visible by the Debug processor. It would be nice to have detection for multiple root elements in the XPL engine itself. This would probably have caught your problem. -Erik Alexander Zatko wrote: > Multiple matches was probably the issue. I changed the > > <xsl:template match="file[1]"> > > to > > <xsl:template match="/"> > > and now it works. Not sure why debug did not show the multiple matches > though. > > > On Feb 8, 2006, at 8:51 AM, Erik Bruchez wrote: > >> It is not 100% impossible that your template will match several times. >> Try doing: >> >> <xsl:stylesheet version="2.0"> >> <xsl:template match="/"> >> <config> >> <url>oxf:/convert/in/<xsl:value-of >> select="(//file)[1]/@name"/></url> >> <content-type>text/plain</content-type> >> <validating>true</validating> >> </config> >> </xsl:template> >> </xsl:stylesheet> >> >> and see if there is a difference. >> >> -Erik >> >> Alexander Zatko wrote: >>> Line 32 is the output line of the XSLT processor. I do not think that >>> is relevant though because I tried to replace the xslt processor with >>> identity processor, but OPS threw the same error. Here is the XSLT >>> processor: >>> <!-- prepare config for the url-generator --> >>> <p:processor name="oxf:xslt"> >>> <p:input name="data" href="#instance"/> >>> <p:input name="config"> >>> <xsl:stylesheet version="2.0"> >>> <xsl:template match="file[1]"> >>> <config> >>> >>> <url>oxf:/convert/in/<xsl:value-of select="@name"/></url> >>> >>> <content-type>text/plain</content-type> >>> <validating>true</validating> >>> </config> >>> </xsl:template> >>> </xsl:stylesheet> >>> </p:input> >>> line 32: <p:output name="data" id="url-gen-config" >>> debug="url-gen-config"/> >>> </p:processor> >>> A. >>> On Feb 8, 2006, at 8:33 AM, Ryan Puddephatt wrote: >>>> Alex what is on line 32 of convert.xpl? >>>> >>>> Ryan Puddephatt >>>> Software Engineer >>>> TFX Group - IT UK >>>> 1 Michaelson Square >>>> Livingston >>>> West Lothian >>>> Scotand >>>> EH54 7DP >>>> >>>> * [hidden email] >>>> ( 01506 407 110 >>>> 7 01506 407 108 >>>> >>>>> -----Original Message----- >>>>> From: Alexander Zatko [mailto:[hidden email]] >>>>> Sent: 08 February 2006 13:26 >>>>> To: [hidden email] >>>>> Subject: [ops-users] Error character data is not allowed here... >>>>> >>>>> I have a XSLT processor that prepares config xml for an url-generator. >>>>> The config XML I test with looks like this: >>>>> >>>>> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>>>> xmlns:p="http://www.orbeon.com/oxf/pipeline" >>>>> xmlns:sql="http://orbeon.org/oxf/xml/sql" >>>>> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >>>>> <url>oxf:/convert/in/aaa.txt</url> >>>>> <content-type>text/plain</content-type> >>>>> <validating>true</validating> >>>>> </config> >>>>> >>>>> When I feed this into the URL generator: >>>>> >>>>> <p:processor name="oxf:url-generator"> >>>>> <p:input name="config" href="#config"/> >>>>> <p:output name="data" id="one-file" >>>>> debug="one-file"/> >>>>> </p:processor> >>>>> >>>>> ...OPS throws an error shown below. However, when I copy the config >>>>> XML >>>>> snippet from console and paste it directly into the config input of >>>>> the >>>>> url-generator, no error is thrown. >>>>> >>>>> Any ideas why this is happening? >>>>> >>>>> Here is the stack trace: >>>>> >>>>> >>>>> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils null - >>>>> Exception at oxf:/convert/convert.xpl, line 32, column 87 >>>>> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >>>>> line 32, column 87: Error character data is not allowed here(schema: >>>>> http://www.orbeon.org/oxf/xml/url) >>>>> oxf:/convert/convert.xpl, line 32, column 87: Error character data is >>>>> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >>>>> at >>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVVa >>>>> >>>>> lidationProcessor.java:197) >>>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >>>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >>>>> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >>>>> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >>>>> at >>>>> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java >>>>> >>>>> :80) >>>>> at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >>>>> at >>>>> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java: >>>>> >>>>> 76) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>>>> >>>>> rImpl.java:1164) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProce >>>>> >>>>> ssorFilter.read(ProcessorImpl.java:959) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>>>> >>>>> rImpl.java:1164) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >>>>> >>>>> :349) >>>>> at >>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MS >>>>> >>>>> VValidationProcessor.java:44) >>>>> at >>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MS >>>>> >>>>> VValidationProcessor.java:219) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>>>> >>>>> rImpl.java:1164) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >>>>> >>>>> :349) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.ja >>>>> >>>>> va:404) >>>>> at >>>>> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerator. >>>>> >>>>> java:57) >>>>> at >>>>> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.java >>>>> >>>>> :246) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI >>>>> >>>>> mpl.java:470) >>>>> at >>>>> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerator. >>>>> >>>>> java:57) >>>>> at >>>>> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator. >>>>> >>>>> java:243) >>>>> at >>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>>>> >>>>> >>>> >>>> >>>> --You receive this message as a subscriber of the >>>> [hidden email] mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> ------------------------------------------------------------------------ >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Yeah - that would be nice :-)
Maybe there should be a bug record in the bug tracker for this? Thanks for your help. On Feb 8, 2006, at 9:07 AM, Erik Bruchez wrote: > Probably because there were multiple root elements produced, and that > was not made visible by the Debug processor. It would be nice to have > detection for multiple root elements in the XPL engine itself. This > would probably have caught your problem. > > -Erik > > Alexander Zatko wrote: >> Multiple matches was probably the issue. I changed the >> <xsl:template match="file[1]"> >> to >> <xsl:template match="/"> >> and now it works. Not sure why debug did not show the multiple >> matches though. >> On Feb 8, 2006, at 8:51 AM, Erik Bruchez wrote: >>> It is not 100% impossible that your template will match several >>> times. Try doing: >>> >>> <xsl:stylesheet version="2.0"> >>> <xsl:template match="/"> >>> <config> >>> <url>oxf:/convert/in/<xsl:value-of >>> select="(//file)[1]/@name"/></url> >>> <content-type>text/plain</content-type> >>> <validating>true</validating> >>> </config> >>> </xsl:template> >>> </xsl:stylesheet> >>> >>> and see if there is a difference. >>> >>> -Erik >>> >>> Alexander Zatko wrote: >>>> Line 32 is the output line of the XSLT processor. I do not think >>>> that is relevant though because I tried to replace the xslt >>>> processor with identity processor, but OPS threw the same error. >>>> Here is the XSLT processor: >>>> <!-- prepare config for the url-generator --> >>>> <p:processor name="oxf:xslt"> >>>> <p:input name="data" href="#instance"/> >>>> <p:input name="config"> >>>> <xsl:stylesheet version="2.0"> >>>> <xsl:template match="file[1]"> >>>> <config> >>>> >>>> <url>oxf:/convert/in/<xsl:value-of select="@name"/></url> >>>> >>>> <content-type>text/plain</content-type> >>>> <validating>true</validating> >>>> </config> >>>> </xsl:template> >>>> </xsl:stylesheet> >>>> </p:input> >>>> line 32: <p:output name="data" >>>> id="url-gen-config" debug="url-gen-config"/> >>>> </p:processor> >>>> A. >>>> On Feb 8, 2006, at 8:33 AM, Ryan Puddephatt wrote: >>>>> Alex what is on line 32 of convert.xpl? >>>>> >>>>> Ryan Puddephatt >>>>> Software Engineer >>>>> TFX Group - IT UK >>>>> 1 Michaelson Square >>>>> Livingston >>>>> West Lothian >>>>> Scotand >>>>> EH54 7DP >>>>> >>>>> * [hidden email] >>>>> ( 01506 407 110 >>>>> 7 01506 407 108 >>>>> >>>>>> -----Original Message----- >>>>>> From: Alexander Zatko [mailto:[hidden email]] >>>>>> Sent: 08 February 2006 13:26 >>>>>> To: [hidden email] >>>>>> Subject: [ops-users] Error character data is not allowed here... >>>>>> >>>>>> I have a XSLT processor that prepares config xml for an >>>>>> url-generator. >>>>>> The config XML I test with looks like this: >>>>>> >>>>>> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>>>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>>>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>>>>> xmlns:p="http://www.orbeon.com/oxf/pipeline" >>>>>> xmlns:sql="http://orbeon.org/oxf/xml/sql" >>>>>> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >>>>>> <url>oxf:/convert/in/aaa.txt</url> >>>>>> <content-type>text/plain</content-type> >>>>>> <validating>true</validating> >>>>>> </config> >>>>>> >>>>>> When I feed this into the URL generator: >>>>>> >>>>>> <p:processor name="oxf:url-generator"> >>>>>> <p:input name="config" href="#config"/> >>>>>> <p:output name="data" id="one-file" >>>>>> debug="one-file"/> >>>>>> </p:processor> >>>>>> >>>>>> ...OPS throws an error shown below. However, when I copy the >>>>>> config XML >>>>>> snippet from console and paste it directly into the config input >>>>>> of the >>>>>> url-generator, no error is thrown. >>>>>> >>>>>> Any ideas why this is happening? >>>>>> >>>>>> Here is the stack trace: >>>>>> >>>>>> >>>>>> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils >>>>>> null - >>>>>> Exception at oxf:/convert/convert.xpl, line 32, column 87 >>>>>> org.orbeon.oxf.common.ValidationException: >>>>>> oxf:/convert/convert.xpl, >>>>>> line 32, column 87: Error character data is not allowed >>>>>> here(schema: >>>>>> http://www.orbeon.org/oxf/xml/url) >>>>>> oxf:/convert/convert.xpl, line 32, column 87: Error character >>>>>> data is >>>>>> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >>>>>> at >>>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error >>>>>> (MSVVa >>>>>> lidationProcessor.java:197) >>>>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >>>>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >>>>>> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >>>>>> at >>>>>> com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >>>>>> at >>>>>> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandle >>>>>> r.java >>>>>> :80) >>>>>> at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >>>>>> at >>>>>> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor. >>>>>> java: >>>>>> 76) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java: >>>>>> 981) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Pr >>>>>> ocesso >>>>>> rImpl.java:1164) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$Concret >>>>>> eProce >>>>>> ssorFilter.read(ProcessorImpl.java:959) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Pr >>>>>> ocesso >>>>>> rImpl.java:1164) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImp >>>>>> l.java >>>>>> :349) >>>>>> at >>>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$ >>>>>> 700(MS >>>>>> VValidationProcessor.java:44) >>>>>> at >>>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readI >>>>>> mpl(MS >>>>>> VValidationProcessor.java:219) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java: >>>>>> 981) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Pr >>>>>> ocesso >>>>>> rImpl.java:1164) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImp >>>>>> l.java >>>>>> :349) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorI >>>>>> mpl.ja >>>>>> va:404) >>>>>> at >>>>>> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGene >>>>>> rator. >>>>>> java:57) >>>>>> at >>>>>> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerato >>>>>> r.java >>>>>> :246) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(Proc >>>>>> essorI >>>>>> mpl.java:470) >>>>>> at >>>>>> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGene >>>>>> rator. >>>>>> java:57) >>>>>> at >>>>>> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGene >>>>>> rator. >>>>>> java:243) >>>>>> at >>>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java: >>>>>> 981) >>>>>> >>>>>> >>>>> >>>>> >>>>> --You receive this message as a subscriber of the >>>>> [hidden email] mailing list. >>>>> To unsubscribe: mailto:[hidden email] >>>>> For general help: mailto:[hidden email]?subject=help >>>>> ObjectWeb mailing lists service home page: >>>>> http://www.objectweb.org/wws >>>> -------------------------------------------------------------------- >>>> ---- >>>> -- >>>> You receive this message as a subscriber of the >>>> [hidden email] mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> ObjectWeb mailing lists service home page: >>>> http://www.objectweb.org/wws >>> >>> >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: >>> http://www.objectweb.org/wws >> ---------------------------------------------------------------------- >> -- >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: >> http://www.objectweb.org/wws > > > -- > You receive this message as a subscriber of the > [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Administrator
|
Added:
http://forge.objectweb.org/tracker/index.php?func=detail&aid=304655&group_id=168&atid=350207 -Erik Alexander Zatko wrote: > Yeah - that would be nice :-) > > Maybe there should be a bug record in the bug tracker for this? > > Thanks for your help. > > On Feb 8, 2006, at 9:07 AM, Erik Bruchez wrote: > >> Probably because there were multiple root elements produced, and that >> was not made visible by the Debug processor. It would be nice to have >> detection for multiple root elements in the XPL engine itself. This >> would probably have caught your problem. >> >> -Erik >> >> Alexander Zatko wrote: >>> Multiple matches was probably the issue. I changed the >>> <xsl:template match="file[1]"> >>> to >>> <xsl:template match="/"> >>> and now it works. Not sure why debug did not show the multiple >>> matches though. >>> On Feb 8, 2006, at 8:51 AM, Erik Bruchez wrote: >>>> It is not 100% impossible that your template will match several >>>> times. Try doing: >>>> >>>> <xsl:stylesheet version="2.0"> >>>> <xsl:template match="/"> >>>> <config> >>>> <url>oxf:/convert/in/<xsl:value-of >>>> select="(//file)[1]/@name"/></url> >>>> <content-type>text/plain</content-type> >>>> <validating>true</validating> >>>> </config> >>>> </xsl:template> >>>> </xsl:stylesheet> >>>> >>>> and see if there is a difference. >>>> >>>> -Erik >>>> >>>> Alexander Zatko wrote: >>>>> Line 32 is the output line of the XSLT processor. I do not think >>>>> that is relevant though because I tried to replace the xslt >>>>> processor with identity processor, but OPS threw the same error. >>>>> Here is the XSLT processor: >>>>> <!-- prepare config for the url-generator --> >>>>> <p:processor name="oxf:xslt"> >>>>> <p:input name="data" href="#instance"/> >>>>> <p:input name="config"> >>>>> <xsl:stylesheet version="2.0"> >>>>> <xsl:template match="file[1]"> >>>>> <config> >>>>> >>>>> <url>oxf:/convert/in/<xsl:value-of select="@name"/></url> >>>>> >>>>> <content-type>text/plain</content-type> >>>>> <validating>true</validating> >>>>> </config> >>>>> </xsl:template> >>>>> </xsl:stylesheet> >>>>> </p:input> >>>>> line 32: <p:output name="data" >>>>> id="url-gen-config" debug="url-gen-config"/> >>>>> </p:processor> >>>>> A. >>>>> On Feb 8, 2006, at 8:33 AM, Ryan Puddephatt wrote: >>>>>> Alex what is on line 32 of convert.xpl? >>>>>> >>>>>> Ryan Puddephatt >>>>>> Software Engineer >>>>>> TFX Group - IT UK >>>>>> 1 Michaelson Square >>>>>> Livingston >>>>>> West Lothian >>>>>> Scotand >>>>>> EH54 7DP >>>>>> >>>>>> * [hidden email] >>>>>> ( 01506 407 110 >>>>>> 7 01506 407 108 >>>>>> >>>>>>> -----Original Message----- >>>>>>> From: Alexander Zatko [mailto:[hidden email]] >>>>>>> Sent: 08 February 2006 13:26 >>>>>>> To: [hidden email] >>>>>>> Subject: [ops-users] Error character data is not allowed here... >>>>>>> >>>>>>> I have a XSLT processor that prepares config xml for an >>>>>>> url-generator. >>>>>>> The config XML I test with looks like this: >>>>>>> >>>>>>> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >>>>>>> xmlns:oxf="http://www.orbeon.com/oxf/processors" >>>>>>> xmlns:xs="http://www.w3.org/2001/XMLSchema" >>>>>>> xmlns:p="http://www.orbeon.com/oxf/pipeline" >>>>>>> xmlns:sql="http://orbeon.org/oxf/xml/sql" >>>>>>> xmlns:fn="http://www.w3.org/2005/02/xpath-functions"> >>>>>>> <url>oxf:/convert/in/aaa.txt</url> >>>>>>> <content-type>text/plain</content-type> >>>>>>> <validating>true</validating> >>>>>>> </config> >>>>>>> >>>>>>> When I feed this into the URL generator: >>>>>>> >>>>>>> <p:processor name="oxf:url-generator"> >>>>>>> <p:input name="config" href="#config"/> >>>>>>> <p:output name="data" id="one-file" >>>>>>> debug="one-file"/> >>>>>>> </p:processor> >>>>>>> >>>>>>> ...OPS throws an error shown below. However, when I copy the >>>>>>> config XML >>>>>>> snippet from console and paste it directly into the config input >>>>>>> of the >>>>>>> url-generator, no error is thrown. >>>>>>> >>>>>>> Any ideas why this is happening? >>>>>>> >>>>>>> Here is the stack trace: >>>>>>> >>>>>>> >>>>>>> 2006-02-08 08:18:32,551 ERROR org.orbeon.oxf.pipeline.InitUtils >>>>>>> null - >>>>>>> Exception at oxf:/convert/convert.xpl, line 32, column 87 >>>>>>> org.orbeon.oxf.common.ValidationException: oxf:/convert/convert.xpl, >>>>>>> line 32, column 87: Error character data is not allowed here(schema: >>>>>>> http://www.orbeon.org/oxf/xml/url) >>>>>>> oxf:/convert/convert.xpl, line 32, column 87: Error character >>>>>>> data is >>>>>>> not allowed here(schema: http://www.orbeon.org/oxf/xml/url) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$8.error(MSVVa >>>>>>> >>>>>>> lidationProcessor.java:197) >>>>>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:336) >>>>>>> at com.sun.msv.verifier.Verifier.onError(Verifier.java:328) >>>>>>> at com.sun.msv.verifier.Verifier.verifyText(Verifier.java:146) >>>>>>> at com.sun.msv.verifier.Verifier.startElement(Verifier.java:172) >>>>>>> at >>>>>>> org.orbeon.oxf.xml.TeeContentHandler.startElement(TeeContentHandler.java >>>>>>> >>>>>>> :80) >>>>>>> at org.orbeon.oxf.xml.SAXStore.replay(SAXStore.java:162) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.DebugProcessor$1.readImpl(DebugProcessor.java: >>>>>>> >>>>>>> 76) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>>>>>> >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>>>>>> >>>>>>> rImpl.java:1164) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl$ConcreteProce >>>>>>> >>>>>>> ssorFilter.read(ProcessorImpl.java:959) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>>>>>> >>>>>>> rImpl.java:1164) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >>>>>>> >>>>>>> :349) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor.access$700(MS >>>>>>> >>>>>>> VValidationProcessor.java:44) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.validation.MSVValidationProcessor$5.readImpl(MS >>>>>>> >>>>>>> VValidationProcessor.java:219) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>>>>>> >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$ProcessorOutputImpl.read(Processo >>>>>>> >>>>>>> rImpl.java:1164) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsSAX(ProcessorImpl.java >>>>>>> >>>>>>> :349) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl.readInputAsDOM4J(ProcessorImpl.ja >>>>>>> >>>>>>> va:404) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.generator.URLGenerator.access$200(URLGenerator. >>>>>>> >>>>>>> java:57) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.generator.URLGenerator$2.read(URLGenerator.java >>>>>>> >>>>>>> :246) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl.readCacheInputAsObject(ProcessorI >>>>>>> >>>>>>> mpl.java:470) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.generator.URLGenerator.access$600(URLGenerator. >>>>>>> >>>>>>> java:57) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.generator.URLGenerator$1.readImpl(URLGenerator. >>>>>>> >>>>>>> java:243) >>>>>>> at >>>>>>> org.orbeon.oxf.processor.ProcessorImpl$6.read(ProcessorImpl.java:981) >>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>>> >>>>>> --You receive this message as a subscriber of the >>>>>> [hidden email] mailing list. >>>>>> To unsubscribe: mailto:[hidden email] >>>>>> For general help: mailto:[hidden email]?subject=help >>>>>> ObjectWeb mailing lists service home page: >>>>>> http://www.objectweb.org/wws >>>>> ------------------------------------------------------------------------ >>>>> >>>>> --You receive this message as a subscriber of the >>>>> [hidden email] mailing list. >>>>> To unsubscribe: mailto:[hidden email] >>>>> For general help: mailto:[hidden email]?subject=help >>>>> ObjectWeb mailing lists service home page: >>>>> http://www.objectweb.org/wws >>>> >>>> >>>> --You receive this message as a subscriber of the >>>> [hidden email] mailing list. >>>> To unsubscribe: mailto:[hidden email] >>>> For general help: mailto:[hidden email]?subject=help >>>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >>> ------------------------------------------------------------------------ >>> -- >>> You receive this message as a subscriber of the >>> [hidden email] mailing list. >>> To unsubscribe: mailto:[hidden email] >>> For general help: mailto:[hidden email]?subject=help >>> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws >> >> >> -- >> You receive this message as a subscriber of the >> [hidden email] mailing list. >> To unsubscribe: mailto:[hidden email] >> For general help: mailto:[hidden email]?subject=help >> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws > > > > ------------------------------------------------------------------------ > > > -- > You receive this message as a subscriber of the [hidden email] mailing list. > To unsubscribe: mailto:[hidden email] > For general help: mailto:[hidden email]?subject=help > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws -- You receive this message as a subscriber of the [hidden email] mailing list. To unsubscribe: mailto:[hidden email] For general help: mailto:[hidden email]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws |
Free forum by Nabble | Edit this page |